]> Dogcows Code - chaz/openbox/blob - otk/application.hh
rm consts that wont compile on some libfreetype's
[chaz/openbox] / otk / application.hh
1 #ifndef __application_hh
2 #define __application_hh
3
4 #include "eventdispatcher.hh"
5 #include "display.hh"
6 #include "configuration.hh"
7 #include "timerqueuemanager.hh"
8 #include "image.hh"
9 #include "style.hh"
10
11 namespace otk {
12
13 class OtkAppWidget;
14
15 class OtkApplication : public OtkEventDispatcher {
16
17 public:
18
19 OtkApplication(int argc, char **argv);
20 virtual ~OtkApplication();
21
22 virtual void run(void);
23 // more bummy cool functionality
24
25 void setDockable(bool dockable) { _dockable = dockable; }
26 inline bool isDockable(void) const { return _dockable; }
27
28 inline otk::Style *getStyle(void) const { return _style; }
29 // more accessors
30
31 private:
32 void loadStyle(void);
33
34 OBTimerQueueManager *_timer_manager;
35 BImageControl *_img_ctrl;
36 Configuration *_style_conf;
37 Style *_style;
38 bool _dockable;
39
40 int _appwidget_count;
41
42 friend class OtkAppWidget;
43 };
44
45 }
46
47 #endif
This page took 0.038559 seconds and 4 git commands to generate.