From 7b738b897f6e523024faadef9c1efb6a9aa32f59 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 16 Aug 2004 19:55:43 +0000 Subject: add sink input/source output support (currently broken) git-svn-id: file:///home/lennart/svn/public/paman/trunk@12 cdefa82f-4ce1-0310-97f5-ab6066f37c3c --- src/SourceOutputWindow.hh | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) (limited to 'src/SourceOutputWindow.hh') 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 #include -class SinkWindow; +class SourceOutputWindow; #include "ServerInfoManager.hh" -class SinkWindow : public Gtk::Window { +class SourceOutputWindow : public Gtk::Window { public: - SinkWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade); - static SinkWindow* create(); + SourceOutputWindow(BaseObjectType* cobject, const Glib::RefPtr& 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 -- cgit