summaryrefslogtreecommitdiff
path: root/daemon/watchcommands.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-07-14 01:14:32 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-07-14 01:14:32 +0200
commit732018dc78916b8767bd811da39e528b3061af3a (patch)
treebb088a8a9d280ae3e88311b72dcada655ee1a5eb /daemon/watchcommands.h
parent09d98ef6e6d32e73a6b3c74679adc8a49b0dee7e (diff)
Implemented pushing MPRIS metadata to watch Music app
Diffstat (limited to 'daemon/watchcommands.h')
-rw-r--r--daemon/watchcommands.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/watchcommands.h b/daemon/watchcommands.h
index ee58cbe..6ce70bb 100644
--- a/daemon/watchcommands.h
+++ b/daemon/watchcommands.h
@@ -2,12 +2,14 @@
#define WATCHCOMMANDS_H
#include "watchconnector.h"
+#include "Logger"
#include <QObject>
class WatchCommands : public QObject
{
Q_OBJECT
+ LOG4QT_DECLARE_QCLASS_LOGGER
watch::WatchConnector *watch;
@@ -20,6 +22,9 @@ signals:
public slots:
void processMessage(uint endpoint, uint datalen, QByteArray data);
+protected slots:
+ void onMprisMetadataChanged(QVariantMap metadata);
+
};
#endif // WATCHCOMMANDS_H