From 055df674f70f7961c6d47e3b031881e142f6dea8 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Wed, 12 Jan 2011 14:33:30 -0600 Subject: rf underway --- src/dbus-menu-manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dbus-menu-manager.h') diff --git a/src/dbus-menu-manager.h b/src/dbus-menu-manager.h index ec2b2e2..5b6544e 100644 --- a/src/dbus-menu-manager.h +++ b/src/dbus-menu-manager.h @@ -29,6 +29,6 @@ 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); #endif -- cgit v1.2.3 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 From eb2c1d7fc7ba7f8d2ae35141b2bf13ef69795b1d Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Mon, 24 Jan 2011 16:27:02 -0600 Subject: deleted the dbus-menu-manager c and h --- src/dbus-menu-manager.h | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/dbus-menu-manager.h (limited to 'src/dbus-menu-manager.h') diff --git a/src/dbus-menu-manager.h b/src/dbus-menu-manager.h deleted file mode 100644 index 27976b3..0000000 --- a/src/dbus-menu-manager.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef __INCLUDE_DBUS_MENU_MANAGER_H__ -#define __INCLUDE_DBUS_MENU_MANAGER_H__ - -/* -Copyright 2010 Canonical Ltd. - -Authors: - Conor Curran - -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 -by the Free Software Foundation. - -This program is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranties of -MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU General Public License for more details. - -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_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