aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service-dbus.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-26 21:30:55 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-26 21:30:55 -0600
commitf5aba239f02110c6f0ba2a6c88349c6e59771f65 (patch)
tree7ede9ec6731b75a310d0bcaad311ce9450a0e865 /src/sound-service-dbus.h
parente832a5fd618e30ea15029d4c029f8796eeb66078 (diff)
parent2015246e5146a5a03b6b0497aa8ce18a705bd724 (diff)
downloadayatana-indicator-sound-f5aba239f02110c6f0ba2a6c88349c6e59771f65.tar.gz
ayatana-indicator-sound-f5aba239f02110c6f0ba2a6c88349c6e59771f65.tar.bz2
ayatana-indicator-sound-f5aba239f02110c6f0ba2a6c88349c6e59771f65.zip
merged big refactor
Diffstat (limited to 'src/sound-service-dbus.h')
-rw-r--r--src/sound-service-dbus.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/sound-service-dbus.h b/src/sound-service-dbus.h
index 0d1573b..fab3549 100644
--- a/src/sound-service-dbus.h
+++ b/src/sound-service-dbus.h
@@ -3,7 +3,6 @@
*
* Authors:
* Conor Curran <conor.curran@canonical.com>
- * Cody Russell <crussell@canonical.com>
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -23,6 +22,9 @@
#include <glib.h>
#include <glib-object.h>
+#include <libdbusmenu-glib/menuitem.h>
+#include "common-defs.h"
+
G_BEGIN_DECLS
@@ -51,10 +53,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_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