summaryrefslogtreecommitdiffstats
path: root/src/SourceWindow.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/SourceWindow.hh')
-rw-r--r--src/SourceWindow.hh32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/SourceWindow.hh b/src/SourceWindow.hh
new file mode 100644
index 0000000..964d64f
--- /dev/null
+++ b/src/SourceWindow.hh
@@ -0,0 +1,32 @@
+#ifndef foosourcewindowhhfoo
+#define foosourcewindowhhfoo
+
+#include <gtkmm.h>
+#include <libglademm.h>
+
+class SourceWindow : public Gtk::Window {
+public:
+ SourceWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
+ static SourceWindow* create();
+
+ Gtk::Label *nameLabel,
+ *descriptionLabel,
+ *indexLabel,
+ *sampleTypeLabel,
+ *ownerModuleLabel,
+ *monitorOfSinkLabel;
+
+ Gtk::Button *closeButton,
+ *toParentSinkButton,
+ *toOwnerModuleButton;
+
+ uint32_t monitor_of_sink, owner_module;
+
+ void updateInfo(const SourceInfo &i);
+
+ virtual void onCloseButton();
+ virtual void onParentSinkButton();
+ virtual void onToOwnerModuleButton();
+};
+
+#endif