From 4d38b0a057c9c78c3e400c953b6ab5ea6d2a37b0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 12 Aug 2004 23:26:31 +0000 Subject: add support for listing clients and modules git-svn-id: file:///home/lennart/svn/public/paman/trunk@5 cdefa82f-4ce1-0310-97f5-ab6066f37c3c --- ClientWindow.hh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 ClientWindow.hh (limited to 'ClientWindow.hh') 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 +#include + +class ClientWindow; + +#include "ServerInfo.hh" + +class ClientWindow : public Gtk::Window { +public: + ClientWindow(BaseObjectType* cobject, const Glib::RefPtr& 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 -- cgit