aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-menu-manager.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-12 17:55:05 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-12 17:55:05 -0600
commit6db28ce9134db40a0808a3c67df5f9dd223303b5 (patch)
tree4508dfbf263ee3778476418a5ba230f535ffa8c0 /src/dbus-menu-manager.h
parent055df674f70f7961c6d47e3b031881e142f6dea8 (diff)
downloadayatana-indicator-sound-6db28ce9134db40a0808a3c67df5f9dd223303b5.tar.gz
ayatana-indicator-sound-6db28ce9134db40a0808a3c67df5f9dd223303b5.tar.bz2
ayatana-indicator-sound-6db28ce9134db40a0808a3c67df5f9dd223303b5.zip
stage one of the refactor on the server side complete
Diffstat (limited to 'src/dbus-menu-manager.h')
-rw-r--r--src/dbus-menu-manager.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/dbus-menu-manager.h b/src/dbus-menu-manager.h
index 5b6544e..27976b3 100644
--- a/src/dbus-menu-manager.h
+++ b/src/dbus-menu-manager.h
@@ -1,10 +1,7 @@
#ifndef __INCLUDE_DBUS_MENU_MANAGER_H__
#define __INCLUDE_DBUS_MENU_MANAGER_H__
-#include <libdbusmenu-glib/menuitem.h>
-
/*
-This handles the management of the dbusmeneu items.
Copyright 2010 Canonical Ltd.
Authors:
@@ -23,12 +20,19 @@ You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <libdbusmenu-glib/menuitem.h>
+
+// Entry point
DbusmenuMenuitem* dbus_menu_manager_setup();
-void dbus_menu_manager_teardown();
-void dbus_menu_manager_update_volume(gdouble volume);
-void dbus_menu_manager_update_pa_state(gboolean pa_state, gboolean sink_available, gboolean sink_muted, gdouble current_vol);
-// TODO update pa_state should incorporate the method below !
-void dbus_menu_manager_update_mute_ui(gboolean incoming_mute_value);
-void dbmm_pa_wrapper_toggle_mute(gboolean update);
+
+void dbus_menu_manager_update_pa_state (gboolean pa_state,
+ gboolean sink_available,
+ gboolean sink_muted,
+ gdouble current_vol);
+
+// Temporary wrappers on the pulsemanager inward calls
+// until the refactor is complete
+void dbus_menu_manager_update_mute (gboolean incoming_mute_value);
+void dbus_menu_manager_update_volume (gdouble volume);
#endif