summaryrefslogtreecommitdiffstats
path: root/app/dbus.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-04-20 20:26:12 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-04-20 21:46:25 -0700
commit3bf175c871cac7d6b60d8263196262ea5ffcda74 (patch)
tree013bd40e7ded4980777bc4bf547169e669dcf9c1 /app/dbus.h
parent1f14b62977b3deb285be13f4ede2449df76f24c1 (diff)
dbus: monitor for udisks media removal events
This makes assumptions that there is only one media device allowed at a time. Bug-AGL: SPEC-527 Change-Id: Ide3d760f147551945cc14b7f6b66bd025634a17b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/dbus.h')
-rw-r--r--app/dbus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/dbus.h b/app/dbus.h
index b2cfeb4..2dd6e34 100644
--- a/app/dbus.h
+++ b/app/dbus.h
@@ -54,11 +54,13 @@ signals:
void processPlaylistShow();
void displayBluetoothMetadata(const QString& avrcp_artist, const QString& avrcp_title, const int avrcp_duration);
+ void stopPlayback();
void updatePosition(const int current_position);
void updatePlayerStatus(const QString status);
private slots:
void lmsUpdate(const QString&, const QVariantMap&, const QStringList&);
+ void mediaRemoved(const QDBusObjectPath&);
void newBluetoothDevice(const QDBusObjectPath&, const QVariantMap&);
void removeBluetoothDevice(const QDBusObjectPath&, const QStringList&);
void processBluetoothEvent(const QString&, const QVariantMap&, const QStringList&);