aboutsummaryrefslogtreecommitdiffstats
path: root/include/bluez-glib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bluez-glib.h')
-rw-r--r--include/bluez-glib.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/bluez-glib.h b/include/bluez-glib.h
index 25abecb..257effb 100644
--- a/include/bluez-glib.h
+++ b/include/bluez-glib.h
@@ -75,11 +75,17 @@ typedef void (*bluez_device_event_cb_t)(gchar *adapter,
typedef void (*bluez_media_control_event_cb_t)(gchar *adapter,
gchar *device,
- gchar *endpoint,
bluez_event_t event,
GVariant *properties,
gpointer user_data);
+typedef void (*bluez_media_transport_event_cb_t)(gchar *adapter,
+ gchar *device,
+ gchar *endpoint,
+ bluez_event_t event,
+ GVariant *properties,
+ gpointer user_data);
+
typedef void (*bluez_media_player_event_cb_t)(gchar *adapter,
gchar *device,
gchar *player,
@@ -104,6 +110,8 @@ void bluez_add_media_control_event_callback(bluez_media_control_event_cb_t cb, g
void bluez_add_media_player_event_callback(bluez_media_player_event_cb_t cb, gpointer user_data);
+void bluez_add_media_transport_event_callback(bluez_media_transport_event_cb_t cb, gpointer user_data);
+
void bluez_add_agent_event_callback(bluez_agent_event_cb_t cb, gpointer user_data);
void bluez_set_log_level(bluez_log_level_t level);
@@ -154,6 +162,10 @@ gboolean bluez_device_avrcp_controls(const char *device, bluez_media_control_t a
gboolean bluez_set_pincode(const char *pincode);
+gboolean bluez_get_media_control_properties(const char *device, GVariant **reply);
+
+gboolean bluez_get_media_player_properties(const char *device, GVariant **reply);
+
#ifdef __cplusplus
} // extern "C"
#endif