summaryrefslogtreecommitdiffstats
path: root/src/ModuleWindow.hh
blob: daec73560723cfb6fc7b9cce3a74c80be537df5d (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
#ifndef foomodulewindowhhfoo
#define foomodulewindowhhfoo

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

class ModuleWindow;

#include "ServerInfoManager.hh"

class ModuleWindow : public Gtk::Window {
public:
    ModuleWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
    static ModuleWindow* create();

    Gtk::Label *nameLabel,
        *argumentLabel,
        *indexLabel,
        *autoloadedLabel,
        *usageLabel;

    Gtk::Button *closeButton;
    
    void updateInfo(const ModuleInfo &i);

    virtual void onCloseButton();
    virtual bool on_delete_event(GdkEventAny* e);
};

#endif