summaryrefslogtreecommitdiff
path: root/daemon/watchconnector.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-12-13 19:27:07 +0100
committerJavier <dev.git@javispedro.com>2014-12-13 19:27:07 +0100
commitd0b0090e951668f9160632c5c30b9f1e0d0aa5a0 (patch)
treed4bc62ec2be69c0dd3cd7e292873b6f446597c97 /daemon/watchconnector.h
parente0fdb8c0f36fc78d3f445c3a218902bc132a33ec (diff)
do not listen for every d-bus owner change
rather, just update the current mpris service when a signal comes in; seems much more efficient.
Diffstat (limited to 'daemon/watchconnector.h')
-rw-r--r--daemon/watchconnector.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/watchconnector.h b/daemon/watchconnector.h
index 4194e9a..6546302 100644
--- a/daemon/watchconnector.h
+++ b/daemon/watchconnector.h
@@ -94,8 +94,7 @@ public:
musicPREVIOUS = 5,
musicVOLUME_UP = 6,
musicVOLUME_DOWN = 7,
- musicGET_NOW_PLAYING = 8,
- musicSEND_NOW_PLAYING = 9
+ musicGET_NOW_PLAYING = 8
};
enum SystemMessage {
systemFIRMWARE_AVAILABLE = 0,