diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-08-16 19:55:43 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-08-16 19:55:43 +0000 |
commit | 7b738b897f6e523024faadef9c1efb6a9aa32f59 (patch) | |
tree | bf003526bb2e10732f8c8eea26981714e35fe872 /src/SourceOutputWindow.hh | |
parent | b3f41bd9945792ac7869db78fd75983546222622 (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/SourceOutputWindow.hh')
-rw-r--r-- | src/SourceOutputWindow.hh | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/src/SourceOutputWindow.hh b/src/SourceOutputWindow.hh index b0417aa..a98a9d0 100644 --- a/src/SourceOutputWindow.hh +++ b/src/SourceOutputWindow.hh @@ -1,45 +1,38 @@ -#ifndef foosinkwindowhhfoo -#define foosinkwindowhhfoo +#ifndef foosourceoutputwindowhhfoo +#define foosourceoutputwindowhhfoo #include <gtkmm.h> #include <libglademm.h> -class SinkWindow; +class SourceOutputWindow; #include "ServerInfoManager.hh" -class SinkWindow : public Gtk::Window { +class SourceOutputWindow : public Gtk::Window { public: - SinkWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade); - static SinkWindow* create(); + SourceOutputWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade); + static SourceOutputWindow* create(); Gtk::Label *nameLabel, - *descriptionLabel, *indexLabel, *sampleTypeLabel, - *latencyLabel, - *ownerModuleLabel, - *monitorSourceLabel, - *volumeLabel; + *sourceLabel, + *clientLabel, + *ownerModuleLabel; Gtk::Button *closeButton, - *toMonitorSourceButton, *toOwnerModuleButton, - *volumeResetButton, - *volumeMuteButton; + *toClientButton, + *toSourceButton; - Gtk::HScale *volumeScale; - - uint32_t index, owner_module, monitor_source; + uint32_t owner_module, source, client; - void updateInfo(const SinkInfo &i); + void updateInfo(const SourceOutputInfo &i); virtual void onCloseButton(); - virtual void onToMonitorSourceButton(); virtual void onToOwnerModuleButton(); - virtual void onVolumeScaleValueChanged(); - virtual void onVolumeResetButton(); - virtual void onVolumeMuteButton(); + virtual void onToClientButton(); + virtual void onToSourceButton(); }; #endif |