summaryrefslogtreecommitdiffstats
path: root/src/SinkInputWindow.hh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-08-16 19:55:43 +0000
committerLennart Poettering <lennart@poettering.net>2004-08-16 19:55:43 +0000
commit7b738b897f6e523024faadef9c1efb6a9aa32f59 (patch)
treebf003526bb2e10732f8c8eea26981714e35fe872 /src/SinkInputWindow.hh
parentb3f41bd9945792ac7869db78fd75983546222622 (diff)
add sink input/source output support (currently broken)
git-svn-id: file:///home/lennart/svn/public/paman/trunk@12 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'src/SinkInputWindow.hh')
-rw-r--r--src/SinkInputWindow.hh26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/SinkInputWindow.hh b/src/SinkInputWindow.hh
index b0417aa..aaf76f4 100644
--- a/src/SinkInputWindow.hh
+++ b/src/SinkInputWindow.hh
@@ -1,42 +1,44 @@
-#ifndef foosinkwindowhhfoo
-#define foosinkwindowhhfoo
+#ifndef foosinkinputwindowhhfoo
+#define foosinkinputwindowhhfoo
#include <gtkmm.h>
#include <libglademm.h>
-class SinkWindow;
+class SinkInputWindow;
#include "ServerInfoManager.hh"
-class SinkWindow : public Gtk::Window {
+class SinkInputWindow : public Gtk::Window {
public:
- SinkWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
- static SinkWindow* create();
+ SinkInputWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
+ static SinkInputWindow* create();
Gtk::Label *nameLabel,
- *descriptionLabel,
*indexLabel,
*sampleTypeLabel,
*latencyLabel,
+ *sinkLabel,
+ *clientLabel,
*ownerModuleLabel,
- *monitorSourceLabel,
*volumeLabel;
Gtk::Button *closeButton,
- *toMonitorSourceButton,
*toOwnerModuleButton,
+ *toClientButton,
+ *toSinkButton,
*volumeResetButton,
*volumeMuteButton;
Gtk::HScale *volumeScale;
- uint32_t index, owner_module, monitor_source;
+ uint32_t index, owner_module, sink, client;
- void updateInfo(const SinkInfo &i);
+ void updateInfo(const SinkInputInfo &i);
virtual void onCloseButton();
- virtual void onToMonitorSourceButton();
virtual void onToOwnerModuleButton();
+ virtual void onToClientButton();
+ virtual void onToSinkButton();
virtual void onVolumeScaleValueChanged();
virtual void onVolumeResetButton();
virtual void onVolumeMuteButton();