diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-03-02 19:36:53 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-03-02 19:36:53 +0000 |
commit | 4bde209ef0f8ad381d70b2ade7eb3cf834eed074 (patch) | |
tree | 389a1d11d72ff8566ae83000e24579138c454733 /src/dbus-menu-manager.h | |
parent | be2b2e73044d5ba0c656431f0d19723af6b55946 (diff) | |
download | ayatana-indicator-sound-4bde209ef0f8ad381d70b2ade7eb3cf834eed074.tar.gz ayatana-indicator-sound-4bde209ef0f8ad381d70b2ade7eb3cf834eed074.tar.bz2 ayatana-indicator-sound-4bde209ef0f8ad381d70b2ade7eb3cf834eed074.zip |
one big refactor
Diffstat (limited to 'src/dbus-menu-manager.h')
-rw-r--r-- | src/dbus-menu-manager.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/dbus-menu-manager.h b/src/dbus-menu-manager.h new file mode 100644 index 0000000..5f49e5f --- /dev/null +++ b/src/dbus-menu-manager.h @@ -0,0 +1,31 @@ +#ifndef __INCLUDE_DBUS_MENU_MANAGER_H__ +#define __INCLUDE_DBUS_MENU_MANAGER_H__ + +/* +This handles the management of the dbusmeneu items. +Copyright 2010 Canonical Ltd. + +Authors: + Conor Curran <conor.curran@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 +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 <http://www.gnu.org/licenses/>. +*/ + +void dbus_menu_manager_setup(); +void dbus_menu_manager_teardown(); +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); + +#endif + |