]> Dogcows Code - chaz/openbox/blob - otk/application.hh
fixed bugs, got otkapp to select on a fd, modded widget to make use of otkapp, press...
[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 OtkApplication : public OtkEventDispatcher {
14
15 public:
16
17 OtkApplication(int argc, char **argv);
18 virtual ~OtkApplication();
19
20 virtual void exec(void);
21 // more bummy cool functionality
22
23 void setDockable(bool dockable) { _dockable = dockable; }
24 inline bool isDockable(void) const { return _dockable; }
25
26 inline Style *getStyle(void) const { return _style; }
27 // more accessors
28
29 private:
30 void loadStyle(void);
31
32 OBTimerQueueManager *_timer_manager;
33 BImageControl *_img_ctrl;
34 Configuration *_style_conf;
35 Style *_style;
36 bool _dockable;
37 };
38
39 }
40
41 #endif
This page took 0.039934 seconds and 4 git commands to generate.