aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/App.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-27 21:50:32 (GMT)
committerfluxgen <fluxgen>2002-11-27 21:50:32 (GMT)
commitc9e62e7aee97862ec0e0527b4a963bc9d244e41c (patch)
tree8afc0107a7c53a9eb03b6d08b1043c2aba9ec880 /src/FbTk/App.hh
parentd39c023411aca300017a2710d484a2b16e5dd064 (diff)
downloadfluxbox_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.hh5
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 {
32public: 32public:
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();
43private: 43private:
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