summaryrefslogtreecommitdiffstats
path: root/src/SourceOutputWindow.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/SourceOutputWindow.hh')
-rw-r--r--src/SourceOutputWindow.hh37
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