]> Dogcows Code - chaz/openbox/blob - otk/application.hh
rm a XXX.. comment it out :)
[chaz/openbox] / otk / application.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __application_hh
3 #define __application_hh
4
5 #include "eventdispatcher.hh"
6 #include "display.hh"
7 #include "renderstyle.hh"
8
9 namespace otk {
10
11 class AppWidget;
12
13 class Application : public EventDispatcher {
14
15 public:
16
17 Application(int argc, char **argv);
18 virtual ~Application();
19
20 virtual void run(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 RenderStyle *getStyle(void) const { return _style; }
27 // more accessors
28
29 private:
30 void loadStyle(void);
31
32 Display _display;
33 RenderStyle *_style;
34 bool _dockable;
35
36 int _appwidget_count;
37
38 friend class AppWidget;
39 };
40
41 }
42
43 #endif
This page took 0.039913 seconds and 4 git commands to generate.