summaryrefslogtreecommitdiffstats
path: root/SinkWindow.hh
diff options
context:
space:
mode:
Diffstat (limited to 'SinkWindow.hh')
-rw-r--r--SinkWindow.hh35
1 files changed, 35 insertions, 0 deletions
diff --git a/SinkWindow.hh b/SinkWindow.hh
new file mode 100644
index 0000000..5027751
--- /dev/null
+++ b/SinkWindow.hh
@@ -0,0 +1,35 @@
+#ifndef foosinkwindowhhfoo
+#define foosinkwindowhhfoo
+
+#include <gtkmm.h>
+#include <libglademm.h>
+
+class SinkWindow;
+
+#include "ServerInfo.hh"
+
+class SinkWindow : public Gtk::Window {
+public:
+ SinkWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
+ static SinkWindow* create();
+
+ Gtk::Label *nameLabel,
+ *descriptionLabel,
+ *indexLabel,
+ *sampleTypeLabel,
+ *latencyLabel,
+ *ownerModuleLabel,
+ *monitorSourceLabel;
+
+ Gtk::Button *closeButton,
+ *toMonitorSourceButton;
+
+ uint32_t owner_module, monitor_source;
+
+ void updateInfo(const SinkInfo &i);
+
+ virtual void onCloseButton();
+ virtual void onToMonitorSourceButton();
+};
+
+#endif