summaryrefslogtreecommitdiffstats
path: root/SinkWindow.hh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-08-10 13:04:04 +0000
committerLennart Poettering <lennart@poettering.net>2004-08-10 13:04:04 +0000
commit4927458e91e708213b0713dd4d3898dda6ec35c1 (patch)
treee409fdc5d69f9858a737af0ad3ac9687e9994da5 /SinkWindow.hh
parentfcd2f9f953fa3e97503c170208ff4c391f1a09ce (diff)
Initial commit
git-svn-id: file:///home/lennart/svn/public/paman/trunk@3 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
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