summaryrefslogtreecommitdiffstats
path: root/src/StatWindow.hh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-08-18 01:01:12 +0000
committerLennart Poettering <lennart@poettering.net>2004-08-18 01:01:12 +0000
commit72f6cf7ca0d0baaef7fb0171e0d14cce50d1ef04 (patch)
treebda398675084093336e092e4a081820c0e98f700 /src/StatWindow.hh
parent878fea16a2d7a319e59a0d7b4d470b0e3b1e42fb (diff)
add support for statwindow
git-svn-id: file:///home/lennart/svn/public/paman/trunk@15 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'src/StatWindow.hh')
-rw-r--r--src/StatWindow.hh32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/StatWindow.hh b/src/StatWindow.hh
new file mode 100644
index 0000000..092404a
--- /dev/null
+++ b/src/StatWindow.hh
@@ -0,0 +1,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