aboutsummaryrefslogtreecommitdiff
path: root/src/voip-input-menu-item.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-02-16 20:41:58 +0000
committerConor Curran <conor.curran@canonical.com>2011-02-16 20:41:58 +0000
commit3c5c6dc46b738371bd2c0d6afe12f5a9bb168cf6 (patch)
treed4369ba925bbf8217aae9671cc973746ccc21bb7 /src/voip-input-menu-item.h
parentfe11e6ad36166f9e5e7279ffc59249dd7788360a (diff)
downloadayatana-indicator-sound-3c5c6dc46b738371bd2c0d6afe12f5a9bb168cf6.tar.gz
ayatana-indicator-sound-3c5c6dc46b738371bd2c0d6afe12f5a9bb168cf6.tar.bz2
ayatana-indicator-sound-3c5c6dc46b738371bd2c0d6afe12f5a9bb168cf6.zip
need to encapsulate more
Diffstat (limited to 'src/voip-input-menu-item.h')
-rw-r--r--src/voip-input-menu-item.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/voip-input-menu-item.h b/src/voip-input-menu-item.h
index 296f22c..ad70289 100644
--- a/src/voip-input-menu-item.h
+++ b/src/voip-input-menu-item.h
@@ -20,8 +20,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define __VOIP_INPUT_MENU_ITEM_H__
#include <glib.h>
-#include <glib-object.h>
-
+#include <pulse/pulseaudio.h>
#include <libdbusmenu-glib/menuitem.h>
#include "active-sink.h"
@@ -47,8 +46,12 @@ struct _VoipInputMenuItem {
GType voip_input_menu_item_get_type (void);
-void voip_input_menu_item_update(VoipInputMenuItem* item, gdouble update);
-void voip_input_menu_item_enable(VoipInputMenuItem* item, gboolean active);
+void voip_input_menu_item_update (VoipInputMenuItem* item,
+ const pa_source_info* source);
+void voip_input_menu_item_update_source_details (VoipInputMenuItem* item,
+ const pa_source_info* source);
+
+void voip_input_menu_item_enable (VoipInputMenuItem* item, gboolean active);
VoipInputMenuItem* voip_input_menu_item_new (ActiveSink* sink);