aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-menu-manager.h
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2010-03-11 23:53:14 +0100
committerSebastien Bacher <seb128@ubuntu.com>2010-03-11 23:53:14 +0100
commitad7fe51b593322771b1b9104d0c9c39ba0607085 (patch)
tree6c7ed47f80672d654d4d705fd75c972ee63b9007 /src/dbus-menu-manager.h
parent4ff15dc31c6e0b5703ead3341a02fed9a45025f7 (diff)
parent6df1024fe1a7cbfb9f6ba38cfe33a04889c2d40f (diff)
downloadayatana-indicator-sound-ad7fe51b593322771b1b9104d0c9c39ba0607085.tar.gz
ayatana-indicator-sound-ad7fe51b593322771b1b9104d0c9c39ba0607085.tar.bz2
ayatana-indicator-sound-ad7fe51b593322771b1b9104d0c9c39ba0607085.zip
releasing version 0.1.3-0ubuntu1
Diffstat (limited to 'src/dbus-menu-manager.h')
-rw-r--r--src/dbus-menu-manager.h31
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
+