diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-03-04 15:52:59 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-03-04 15:52:59 +0000 |
commit | 17dd0fee623ff8552b5635fdc570e0aee8635fd6 (patch) | |
tree | 30f7be78f9b82383383aa8f54e84ab3a5c29b8d3 /src/dbus-menu-manager.h | |
parent | cb864e17102163154fa313d5f9344e9c6c2cbe16 (diff) | |
parent | e2a152628f20271f5373702ad88fda483e0403ca (diff) | |
download | ayatana-indicator-sound-17dd0fee623ff8552b5635fdc570e0aee8635fd6.tar.gz ayatana-indicator-sound-17dd0fee623ff8552b5635fdc570e0aee8635fd6.tar.bz2 ayatana-indicator-sound-17dd0fee623ff8552b5635fdc570e0aee8635fd6.zip |
merge with the test branch - service side refactored and tests introduced
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 + |