diff options
author | Jonas Rabbe <jonas.rabbe@nokia.com> | 2011-08-31 13:09:47 +1000 |
---|---|---|
committer | Jonas Rabbe <jonas.rabbe@nokia.com> | 2011-08-31 13:09:47 +1000 |
commit | 6781063df647fcba3dd5ca6fdff8631579acb495 (patch) | |
tree | f505a6cadb9e8edd341b0105f47e051a6a597b5c /src/plugins/fakeradio/fakeradioservice.h | |
parent | 3bf236cc23c2e67e1b5cbc01e05e61263528fc10 (diff) | |
parent | 8e954ee2462e827e88bbc27b1512d1e1422357fc (diff) |
Merge branch 'radio' into 'master'
Change-Id: I86243b496b9fb42f828a67343dc576baa2c21ca0
Diffstat (limited to 'src/plugins/fakeradio/fakeradioservice.h')
-rw-r--r-- | src/plugins/fakeradio/fakeradioservice.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/plugins/fakeradio/fakeradioservice.h b/src/plugins/fakeradio/fakeradioservice.h new file mode 100644 index 000000000..6b55d5380 --- /dev/null +++ b/src/plugins/fakeradio/fakeradioservice.h @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** GNU Lesser General Public License Usage +** This file may be used under the terms of the GNU Lesser General Public +** License version 2.1 as published by the Free Software Foundation and +** appearing in the file LICENSE.LGPL included in the packaging of this +** file. Please review the following information to ensure the GNU Lesser +** General Public License version 2.1 requirements will be met: +** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU General +** Public License version 3.0 as published by the Free Software Foundation +** and appearing in the file LICENSE.GPL included in the packaging of this +** file. Please review the following information to ensure the GNU General +** Public License version 3.0 requirements will be met: +** http://www.gnu.org/copyleft/gpl.html. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms and +** conditions contained in a signed written agreement between you and Nokia. +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef FAKERADIOSERVICE_H +#define FAKERADIOSERVICE_H + +#include <QtCore/qobject.h> + +#include <qmediaservice.h> +QT_USE_NAMESPACE + +class FakeRadioTunerControl; + +class FakeRadioService : public QMediaService +{ + Q_OBJECT + +public: + FakeRadioService(QObject *parent = 0); + ~FakeRadioService(); + + QMediaControl *requestControl(const char* name); + void releaseControl(QMediaControl *); + +private: + FakeRadioTunerControl *m_control; +}; + +#endif // FAKERADIOSERVICE_H |