aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/App.hh
diff options
context:
space:
mode:
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