summaryrefslogtreecommitdiffstats
path: root/src/dbus/audio_manager_interface.h
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-02-02 16:08:20 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-02-26 08:58:48 +0000
commit3112266f448e582b06d46034748fc80d71e4d7b1 (patch)
tree409410adc01ca838e5479250cf07cc68ff817215 /src/dbus/audio_manager_interface.h
parenta8c147ecdb6f0aa2a65c7501537bf28b9e28644e (diff)
Add getListMainSources function
This function gets the source list registered in AudioManager. Change-Id: I630200b8aaba1f6049773d183904086277624121 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/dbus/audio_manager_interface.h')
-rw-r--r--src/dbus/audio_manager_interface.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/dbus/audio_manager_interface.h b/src/dbus/audio_manager_interface.h
index c2568f1..f43bceb 100644
--- a/src/dbus/audio_manager_interface.h
+++ b/src/dbus/audio_manager_interface.h
@@ -48,6 +48,10 @@ struct _AudiomanagerCommandinterfaceIface
AudiomanagerCommandinterface *object,
GDBusMethodInvocation *invocation);
+ gboolean (*handle_get_list_main_sources) (
+ AudiomanagerCommandinterface *object,
+ GDBusMethodInvocation *invocation);
+
gboolean (*handle_set_sink_mute_state) (
AudiomanagerCommandinterface *object,
GDBusMethodInvocation *invocation,
@@ -140,6 +144,12 @@ void audiomanager_commandinterface_complete_get_list_main_sinks (
gint16 result,
GVariant *listMainSinks);
+void audiomanager_commandinterface_complete_get_list_main_sources (
+ AudiomanagerCommandinterface *object,
+ GDBusMethodInvocation *invocation,
+ gint16 result,
+ GVariant *listMainSources);
+
/* D-Bus signal emissions functions: */
@@ -323,6 +333,26 @@ gboolean audiomanager_commandinterface_call_get_list_main_sinks_sync (
GCancellable *cancellable,
GError **error);
+void audiomanager_commandinterface_call_get_list_main_sources (
+ AudiomanagerCommandinterface *proxy,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+
+gboolean audiomanager_commandinterface_call_get_list_main_sources_finish (
+ AudiomanagerCommandinterface *proxy,
+ gint16 *out_result,
+ GVariant **out_listMainSources,
+ GAsyncResult *res,
+ GError **error);
+
+gboolean audiomanager_commandinterface_call_get_list_main_sources_sync (
+ AudiomanagerCommandinterface *proxy,
+ gint16 *out_result,
+ GVariant **out_listMainSources,
+ GCancellable *cancellable,
+ GError **error);
+
/* ---- */