summaryrefslogtreecommitdiffstats
path: root/ClientWindow.hh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-08-12 23:26:31 +0000
committerLennart Poettering <lennart@poettering.net>2004-08-12 23:26:31 +0000
commit4d38b0a057c9c78c3e400c953b6ab5ea6d2a37b0 (patch)
tree1ee7b5dbf2b1f210169ce7453b8f11d098581150 /ClientWindow.hh
parent1f9bb4bea5427c1bf236e8698855048ef35f3a81 (diff)
add support for listing clients and modules
git-svn-id: file:///home/lennart/svn/public/paman/trunk@5 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'ClientWindow.hh')
-rw-r--r--ClientWindow.hh32
1 files changed, 32 insertions, 0 deletions
diff --git a/ClientWindow.hh b/ClientWindow.hh
new file mode 100644
index 0000000..61a1973
--- /dev/null
+++ b/ClientWindow.hh
@@ -0,0 +1,32 @@
+#ifndef fooclientwindowhhfoo
+#define fooclientwindowhhfoo
+
+#include <gtkmm.h>
+#include <libglademm.h>
+
+class ClientWindow;
+
+#include "ServerInfo.hh"
+
+class ClientWindow : public Gtk::Window {
+public:
+ ClientWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
+ static ClientWindow* create();
+
+ Gtk::Label *nameLabel,
+ *protocolLabel,
+ *indexLabel,
+ *ownerModuleLabel;
+
+ Gtk::Button *closeButton,
+ *toOwnerModuleButton;
+
+ uint32_t owner_module;
+
+ void updateInfo(const ClientInfo &i);
+
+ virtual void onCloseButton();
+ virtual void onToOwnerModuleButton();
+};
+
+#endif