From 6db28ce9134db40a0808a3c67df5f9dd223303b5 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Wed, 12 Jan 2011 17:55:05 -0600 Subject: stage one of the refactor on the server side complete --- src/dbus-menu-manager.h | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'src/dbus-menu-manager.h') 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 - /* -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 . */ +#include + +// 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 -- cgit v1.2.3