diff options
Diffstat (limited to 'plugingui/eventhandler.h')
-rw-r--r-- | plugingui/eventhandler.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugingui/eventhandler.h b/plugingui/eventhandler.h index 31ab3e2..2a1b657 100644 --- a/plugingui/eventhandler.h +++ b/plugingui/eventhandler.h @@ -33,11 +33,13 @@ #include "guievent.h" #include "nativewindow.h" -namespace GUI { +namespace GUI +{ class Window; -class EventHandler { +class EventHandler +{ public: EventHandler(NativeWindow& nativeWindow, Window& window); @@ -64,7 +66,7 @@ private: // Used to ignore mouse button release after a double click. bool lastWasDoubleClick; - std::queue<std::shared_ptr<Event>> events; + EventQueue events; }; } // GUI:: |