summaryrefslogtreecommitdiffstats
path: root/src/ClientWindow.hh
blob: 8440daf1e4e10e5268b4b0d08c6412ca13ae95bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef fooclientwindowhhfoo
#define fooclientwindowhhfoo

#include <gtkmm.h>
#include <libglademm.h>

class ClientWindow;

#include "ServerInfoManager.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