summaryrefslogtreecommitdiffstats
path: root/src/StatWindow.hh
blob: 092404ac8ecca6572ded24e074c78835021ccae4 (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 foostatwindowhhfoo
#define foostatwindowhhfoo

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

class StatWindow;

#include "ServerInfoManager.hh"

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

    Gtk::Label *totalLabel,
        *totalSizeLabel,
        *allocatedLabel,
        *allocatedSizeLabel;

    Gtk::Button *closeButton, *refreshButton;
    
    virtual void onCloseButton();
    virtual void onRefreshButton();

    struct pa_operation *operation;

    virtual void present();
};

#endif