diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-01-29 09:29:30 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-01-29 09:29:30 +0000 |
commit | f3baf71567c1b8840dafcdcbb73a793dd6064c0f (patch) | |
tree | b455da1efaf5d34912441bdd15c489a102174131 /src/sound-service-dbus.h | |
parent | 93ae69dcd77bc81c3146c2321eb12226cd7704df (diff) | |
download | ayatana-indicator-sound-f3baf71567c1b8840dafcdcbb73a793dd6064c0f.tar.gz ayatana-indicator-sound-f3baf71567c1b8840dafcdcbb73a793dd6064c0f.tar.bz2 ayatana-indicator-sound-f3baf71567c1b8840dafcdcbb73a793dd6064c0f.zip |
volume setting dbus method now registering
Diffstat (limited to 'src/sound-service-dbus.h')
-rw-r--r-- | src/sound-service-dbus.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sound-service-dbus.h b/src/sound-service-dbus.h index c8a36a7..2210eac 100644 --- a/src/sound-service-dbus.h +++ b/src/sound-service-dbus.h @@ -53,7 +53,7 @@ struct _SoundServiceDbus { struct _SoundServiceDbusClass { GObjectClass parent_class; - /* Signals -> outward messages*/ + /* Signals -> outward messages to the DBUS and beyond*/ void (* sink_input_while_muted) (SoundServiceDbus *self, gint sink_index, gboolean is_muted, gpointer sound_data); }; @@ -62,6 +62,10 @@ 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); +// DBUS METHODS +gboolean sound_service_dbus_set_sink_volume(SoundServiceDbus* service, const guint volume_percent, GError** gerror); + + G_END_DECLS |