diff options
Diffstat (limited to 'src/FbTk/App.hh')
-rw-r--r-- | src/FbTk/App.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/FbTk/App.hh b/src/FbTk/App.hh index d878661..b83dd15 100644 --- a/src/FbTk/App.hh +++ b/src/FbTk/App.hh | |||
@@ -53,6 +53,11 @@ public: | |||
53 | /// forces an end to event loop | 53 | /// forces an end to event loop |
54 | void end(); | 54 | void end(); |
55 | bool done() const { return m_done; } | 55 | bool done() const { return m_done; } |
56 | |||
57 | // the setenv()-routine is not everywhere available and | ||
58 | // putenv() doesnt manage the strings in the environment | ||
59 | // and hence we have to do that on our own to avoid memleaking | ||
60 | static bool setenv(const char* key, const char* value); | ||
56 | private: | 61 | private: |
57 | static App *s_app; | 62 | static App *s_app; |
58 | bool m_done; | 63 | bool m_done; |