summaryrefslogtreecommitdiffstats
path: root/src/StatWindow.hh
blob: c120e5118d1ae416fdb08355dca81641af8bf1ee (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
33
34
#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,
        *sampleCacheLabel;

    Gtk::Button *closeButton, *refreshButton;
    
    virtual void onCloseButton();
    virtual void onRefreshButton();
    virtual bool on_delete_event(GdkEventAny* e);

    struct pa_operation *operation;

    virtual void present();
};

#endif