]> Dogcows Code - chaz/openbox/blob - otk/application.hh
Add the "obsetroot" tool. Use it to set the root background.
[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
7 namespace otk {
8
9 class AppWidget;
10
11 class Application : public EventDispatcher {
12
13 public:
14
15 Application(int argc, char **argv);
16 virtual ~Application();
17
18 inline int screen() const { return _screen; }
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 private:
27 void loadStyle(void);
28
29 int _screen;
30 bool _dockable;
31
32 int _appwidget_count;
33
34 friend class AppWidget;
35 };
36
37 }
38
39 #endif
This page took 0.034173 seconds and 4 git commands to generate.