Sayonara Player
src
Components
DBus
DBusHandler.h
1
/* DBusHandler.h */
2
3
/* Copyright (C) 2011-2017 Lucio Carreras
4
*
5
* This file is part of sayonara player
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef DBUSHANDLER_H
22
#define DBUSHANDLER_H
23
24
#include <QObject>
25
#include <QList>
26
#include <QMainWindow>
27
28
class
DBusMediaKeysInterfaceMate
;
29
class
DBusMediaKeysInterfaceGnome
;
30
class
DBusNotifications
;
31
32
33
namespace
DBusMPRIS
34
{
35
class
MediaPlayer2;
36
}
37
38
class
DBusHandler
:
39
private
QObject
40
{
41
42
public
:
43
explicit
DBusHandler
(QMainWindow* player, QObject* parent=
nullptr
);
44
~
DBusHandler
();
45
46
47
private
:
48
DBusMPRIS::MediaPlayer2
* _dbus_mpris=
nullptr
;
49
DBusMediaKeysInterfaceMate
* _dbus_mate=
nullptr
;
50
DBusMediaKeysInterfaceGnome
* _dbus_gnome=
nullptr
;
51
DBusNotifications
* _dbus_notifications=
nullptr
;
52
};
53
54
#endif // DBUSHANDLER_H
DBusMediaKeysInterfaceGnome
Definition:
DBusMediaKeysInterfaceGnome.h:27
DBusHandler
Definition:
DBusHandler.h:38
DBusMPRIS::MediaPlayer2
Definition:
DBusMPRIS.h:58
DBusNotifications
Definition:
DBusNotifications.h:27
DBusMediaKeysInterfaceMate
Definition:
DBusMediaKeysInterfaceMate.h:28
DBusMPRIS
Definition:
DBusHandler.h:33
Generated on Wed Oct 18 2017 08:31:04 for Sayonara Player by
1.8.13