]> Dogcows Code - chaz/openbox/blob - otk/application.hh
848b79858723a195155b393f99f6a73b79b1612c
[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
8 namespace otk {
9
10 class AppWidget;
11
12 class Application : public EventDispatcher {
13
14 public:
15
16 Application(int argc, char **argv);
17 virtual ~Application();
18
19 inline int screen() const { return _screen; }
20
21 virtual void run(void);
22 // more bummy cool functionality
23
24 void setDockable(bool dockable) { _dockable = dockable; }
25 inline bool isDockable(void) const { return _dockable; }
26
27 private:
28 void loadStyle(void);
29
30 Display _display;
31 int _screen;
32 bool _dockable;
33
34 int _appwidget_count;
35
36 friend class AppWidget;
37 };
38
39 }
40
41 #endif
This page took 0.038185 seconds and 3 git commands to generate.