blob: 929dbf0326d4743318ed52074b3ee12dffad9977 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* Copyright (C) 2016, The Qt Company Ltd. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef RTLFMRADIOSERVICE_H
#define RTLFMRADIOSERVICE_H
#include <QtMultimedia/QMediaService>
class QRadioTunerControl;
class RtlFmRadioService : public QMediaService
{
Q_OBJECT
public:
RtlFmRadioService(QObject *parent = 0);
~RtlFmRadioService();
QMediaControl *requestControl(const char *name);
void releaseControl(QMediaControl *);
private:
QRadioTunerControl *m_control;
};
#endif // RTLFMRADIOSERVICE_H
|