diff options
Diffstat (limited to 'src/SinkInputWindow.hh')
-rw-r--r-- | src/SinkInputWindow.hh | 26 |
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(); |