aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service-dbus.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-01-30 13:41:18 +0000
committerConor Curran <conor.curran@canonical.com>2010-01-30 13:41:18 +0000
commit0b66ce027d9fab70a01ada23f6b77035bbf6719f (patch)
treee9ce0b585878c526055d8ad66492edd790b07893 /src/sound-service-dbus.h
parentf3baf71567c1b8840dafcdcbb73a793dd6064c0f (diff)
downloadayatana-indicator-sound-0b66ce027d9fab70a01ada23f6b77035bbf6719f.tar.gz
ayatana-indicator-sound-0b66ce027d9fab70a01ada23f6b77035bbf6719f.tar.bz2
ayatana-indicator-sound-0b66ce027d9fab70a01ada23f6b77035bbf6719f.zip
pulse functionality refactored out inot to a separate PA file(s), sink details now stored in hash, complete list of events subscribed to, get sink list method added to the dbus service
Diffstat (limited to 'src/sound-service-dbus.h')
-rw-r--r--src/sound-service-dbus.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/sound-service-dbus.h b/src/sound-service-dbus.h
index 2210eac..784acee 100644
--- a/src/sound-service-dbus.h
+++ b/src/sound-service-dbus.h
@@ -40,10 +40,6 @@ typedef struct _SoundData SoundData;
struct _SoundData
{
- gchar *client_name;
- gint64 sink_index;
- gboolean *muted;
-
SoundServiceDbus *service;
};
@@ -61,11 +57,11 @@ GType sound_service_dbus_get_type (void) G_GNUC_CONST;
// Utility methods to get the messages across into the sound-service-dbus
void sound_service_dbus_sink_input_while_muted (SoundServiceDbus* obj, gint sink_index, gboolean value);
+void set_pa_sinks_hash(SoundServiceDbus *self, GHashTable *sinks);
// DBUS METHODS
gboolean sound_service_dbus_set_sink_volume(SoundServiceDbus* service, const guint volume_percent, GError** gerror);
-
-
+GList *sound_service_dbus_get_sink_list(SoundServiceDbus* service);
G_END_DECLS