From dc33f15a6b968139779c2b7d2003d3ef6e7d5748 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 10 Feb 2017 19:52:34 +0100 Subject: Clean up guievent.h and use EventQueue type instead if std::queue. --- plugingui/eventhandler.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'plugingui/eventhandler.h') 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> events; + EventQueue events; }; } // GUI:: -- cgit v1.2.3