1 | /* smplayer, GUI front-end for mplayer.
|
---|
2 | Copyright (C) 2006-2017 Ricardo Villalba <rvm@users.sourceforge.net>
|
---|
3 |
|
---|
4 | This program is free software; you can redistribute it and/or modify
|
---|
5 | it under the terms of the GNU General Public License as published by
|
---|
6 | the Free Software Foundation; either version 2 of the License, or
|
---|
7 | (at your option) any later version.
|
---|
8 |
|
---|
9 | This program is distributed in the hope that it will be useful,
|
---|
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
12 | GNU General Public License for more details.
|
---|
13 |
|
---|
14 | You should have received a copy of the GNU General Public License
|
---|
15 | along with this program; if not, write to the Free Software
|
---|
16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
---|
17 | */
|
---|
18 |
|
---|
19 |
|
---|
20 | /***********************************************************************
|
---|
21 | * Copyright 2012 Eike Hein <hein@kde.org>
|
---|
22 | *
|
---|
23 | * This program is free software; you can redistribute it and/or
|
---|
24 | * modify it under the terms of the GNU General Public License as
|
---|
25 | * published by the Free Software Foundation; either version 2 of
|
---|
26 | * the License or (at your option) version 3 or any later version
|
---|
27 | * accepted by the membership of KDE e.V. (or its successor approved
|
---|
28 | * by the membership of KDE e.V.), which shall act as a proxy
|
---|
29 | * defined in Section 14 of version 3 of the license.
|
---|
30 | *
|
---|
31 | * This program is distributed in the hope that it will be useful,
|
---|
32 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
33 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
34 | * GNU General Public License for more details.
|
---|
35 | *
|
---|
36 | * You should have received a copy of the GNU General Public License
|
---|
37 | * along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
38 | ***********************************************************************/
|
---|
39 |
|
---|
40 | #ifndef MPRIS2_H
|
---|
41 | #define MPRIS2_H
|
---|
42 |
|
---|
43 | #include <QObject>
|
---|
44 | #include <QVariantMap>
|
---|
45 |
|
---|
46 | class Core;
|
---|
47 | class BaseGui;
|
---|
48 |
|
---|
49 | class Mpris2 : public QObject
|
---|
50 | {
|
---|
51 | Q_OBJECT
|
---|
52 |
|
---|
53 | public:
|
---|
54 | explicit Mpris2(BaseGui* gui, QObject* parent);
|
---|
55 | ~Mpris2();
|
---|
56 |
|
---|
57 | static void signalPropertiesChange(const QObject* adaptor, const QVariantMap& properties);
|
---|
58 | };
|
---|
59 |
|
---|
60 | #endif
|
---|