diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-01-22 22:15:44 -0600 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-01-22 22:15:44 -0600 |
commit | 5f6cebbcfffa32bffada62659e750ab7d362802e (patch) | |
tree | 0389bff187011d1774d585abd22cf81b6671d831 /src/sound-service-dbus.h | |
parent | a4637ac0f922a3df3e31c19a0a86eebb6a8b4994 (diff) | |
download | ayatana-indicator-sound-5f6cebbcfffa32bffada62659e750ab7d362802e.tar.gz ayatana-indicator-sound-5f6cebbcfffa32bffada62659e750ab7d362802e.tar.bz2 ayatana-indicator-sound-5f6cebbcfffa32bffada62659e750ab7d362802e.zip |
service signals and methods re worked plus removed dbus-menu-manager.c and h and moved what was needed into the sound-service-dbus
Diffstat (limited to 'src/sound-service-dbus.h')
-rw-r--r-- | src/sound-service-dbus.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/sound-service-dbus.h b/src/sound-service-dbus.h index b0e6dd3..127ede2 100644 --- a/src/sound-service-dbus.h +++ b/src/sound-service-dbus.h @@ -52,11 +52,14 @@ struct _SoundServiceDbusClass { GType sound_service_dbus_get_type (void) G_GNUC_CONST; -// Utility methods to get the SIGNAL messages across into the sound-service-dbus -void sound_service_dbus_sink_input_while_muted (SoundServiceDbus* obj, gboolean block_value); -void sound_service_dbus_update_sink_mute(SoundServiceDbus* obj, gboolean sink_mute); -void sound_service_dbus_update_sink_availability(SoundServiceDbus* obj, gboolean sink_availibity); -DbusmenuMenuitem* sound_service_dbus_construct_menu (SoundServiceDbus* self); +DbusmenuMenuitem* sound_service_dbus_create_root_item (SoundServiceDbus* self); +void sound_service_dbus_update_sound_state (SoundServiceDbus* self, SoundState new_state); +void sound_service_dbus_update_sink_mute(SoundServiceDbus* self, gboolean sink_mute); +void sound_service_dbus_update_volume(SoundServiceDbus* self, gdouble volume); +void sound_service_dbus_update_pa_state ( SoundServiceDbus* root, + gboolean availability, + gboolean mute_update, + gdouble volume ); G_END_DECLS |