diff options
author | falkTX <falktx@gmail.com> | 2014-05-09 15:04:32 +0100 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2014-05-09 15:04:32 +0100 |
commit | 422838fe915f9e67581774151209c613ef737532 (patch) | |
tree | ca548e9d7cbb4ec860a89d64c243f45b6e8790f6 /dgl/Window.hpp | |
parent | 6da0a1c1a71fb984f89614c38aec9aca0bb5189d (diff) |
Move IdleCallback outside App class; Cleanup
Diffstat (limited to 'dgl/Window.hpp')
-rw-r--r-- | dgl/Window.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dgl/Window.hpp b/dgl/Window.hpp index 78c7c36f..78baca92 100644 --- a/dgl/Window.hpp +++ b/dgl/Window.hpp @@ -68,8 +68,11 @@ public: int getModifiers() const; intptr_t getWindowId() const; + void addIdleCallback(IdleCallback* const callback); + void removeIdleCallback(IdleCallback* const callback); + private: - class PrivateData; + struct PrivateData; PrivateData* const pData; friend class App; friend class Widget; |