blob: ca86ce3d4ae054156c621281fc112d8c4aa54189 (
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
|
#ifndef MUSICMANAGER_H
#define MUSICMANAGER_H
#include <QObject>
#include "watchconnector.h"
class MusicManager : public QObject
{
Q_OBJECT
LOG4QT_DECLARE_QCLASS_LOGGER
public:
explicit MusicManager(WatchConnector *watch, QObject *parent = 0);
private:
void musicControl(WatchConnector::MusicControl operation);
private slots:
void onMprisMetadataChanged(QVariantMap metadata);
private:
WatchConnector *watch;
};
#endif // MUSICMANAGER_H
|