1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __application_hh
3 #define __application_hh
5 #include "eventdispatcher.hh"
7 #include "configuration.hh"
15 class Application : public EventDispatcher {
19 Application(int argc, char **argv);
20 virtual ~Application();
22 virtual void run(void);
23 // more bummy cool functionality
25 void setDockable(bool dockable) { _dockable = dockable; }
26 inline bool isDockable(void) const { return _dockable; }
28 inline Style *getStyle(void) const { return _style; }
35 ImageControl *_img_ctrl;
36 Configuration *_style_conf;
42 friend class AppWidget;