diff options
author | fluxgen <fluxgen> | 2002-11-27 21:50:32 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-11-27 21:50:32 (GMT) |
commit | c9e62e7aee97862ec0e0527b4a963bc9d244e41c (patch) | |
tree | 8afc0107a7c53a9eb03b6d08b1043c2aba9ec880 /src/FbTk/App.hh | |
parent | d39c023411aca300017a2710d484a2b16e5dd064 (diff) | |
download | fluxbox_pavel-c9e62e7aee97862ec0e0527b4a963bc9d244e41c.zip fluxbox_pavel-c9e62e7aee97862ec0e0527b4a963bc9d244e41c.tar.bz2 |
virtual eventLoop, default displayname and exit eventLoop variable
Diffstat (limited to 'src/FbTk/App.hh')
-rw-r--r-- | src/FbTk/App.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/App.hh b/src/FbTk/App.hh index ef5836c..bbaa249 100644 --- a/src/FbTk/App.hh +++ b/src/FbTk/App.hh | |||
@@ -32,16 +32,17 @@ class App { | |||
32 | public: | 32 | public: |
33 | /// @return singleton instance of App | 33 | /// @return singleton instance of App |
34 | static App *instance(); | 34 | static App *instance(); |
35 | explicit App(const char *displayname); | 35 | explicit App(const char *displayname=0); |
36 | virtual ~App(); | 36 | virtual ~App(); |
37 | /// display connection | 37 | /// display connection |
38 | Display *display() const { return m_display; } | 38 | Display *display() const { return m_display; } |
39 | /// starts event loop | 39 | /// starts event loop |
40 | void eventLoop(); | 40 | virtual void eventLoop(); |
41 | /// ends event loop | 41 | /// ends event loop |
42 | void end(); | 42 | void end(); |
43 | private: | 43 | private: |
44 | static App *s_app; | 44 | static App *s_app; |
45 | bool m_done; | ||
45 | Display *m_display; | 46 | Display *m_display; |
46 | }; | 47 | }; |
47 | 48 | ||