summaryrefslogtreecommitdiffstats
path: root/binding/bluetooth-common.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-11-07 19:08:06 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-11-23 08:49:14 -0800
commit2702c40734efa883bfd1f0cbc4f08a8fe12f1a2a (patch)
tree2790b47f04569c2bd0de11d8fc93b32bc52f3372 /binding/bluetooth-common.h
parentf4e8cddddc0675821de04bacdb36b0bb33daaceb (diff)
binding: bluetooth: add MediaPlayer1 interface media events
Report back MediaPlayer1 interface events for A2DP media playback Bug-AGL: SPEC-1630 Change-Id: I777f19af2de247fe676d5bede4bacbbad8ca9844 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/bluetooth-common.h')
-rw-r--r--binding/bluetooth-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/binding/bluetooth-common.h b/binding/bluetooth-common.h
index e6fb97a..68e747b 100644
--- a/binding/bluetooth-common.h
+++ b/binding/bluetooth-common.h
@@ -41,6 +41,7 @@ struct bluetooth_state {
guint autoconnect_sub;
afb_event_t device_changes_event;
+ afb_event_t media_event;
afb_event_t agent_event;
/* NOTE: single connection allowed for now */
@@ -56,6 +57,9 @@ struct bluetooth_state {
guint registration_id;
gchar *agent_path;
gboolean agent_registered;
+
+ /* mediaplayer */
+ gchar *mediaplayer_path;
};
struct init_data {