diff options
author | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
commit | 28b5c604490094e187494dcc566bd3d7a05a2c25 (patch) | |
tree | 8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/FbTk/App.hh | |
parent | b9134162f9633784d9097df18769a699a62650fe (diff) | |
download | fluxbox_pavel-28b5c604490094e187494dcc566bd3d7a05a2c25.zip fluxbox_pavel-28b5c604490094e187494dcc566bd3d7a05a2c25.tar.bz2 |
Indenting from tabs to emacs 4-space
Diffstat (limited to 'src/FbTk/App.hh')
-rw-r--r-- | src/FbTk/App.hh | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/FbTk/App.hh b/src/FbTk/App.hh index bbaa249..2a64e75 100644 --- a/src/FbTk/App.hh +++ b/src/FbTk/App.hh | |||
@@ -26,24 +26,24 @@ | |||
26 | 26 | ||
27 | namespace FbTk { | 27 | namespace FbTk { |
28 | /** | 28 | /** |
29 | Main class for applications, every application must create an instance of this class | 29 | Main class for applications, every application must create an instance of this class |
30 | */ | 30 | */ |
31 | class App { | 31 | 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=0); | 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 | virtual 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 | bool m_done; |
46 | Display *m_display; | 46 | Display *m_display; |
47 | }; | 47 | }; |
48 | 48 | ||
49 | }; // end namespace FbTk | 49 | }; // end namespace FbTk |