diff engine/core/eventchannel/sdl/ec_isdleventcontroller.h @ 428:a1884665aa95

Added the ability to add an event listener to the front of the event listener deque in the event manager. fixes[t:454]
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 22 Feb 2010 21:23:01 +0000
parents 90005975cdbb
children
line wrap: on
line diff
--- a/engine/core/eventchannel/sdl/ec_isdleventcontroller.h	Sat Feb 20 21:41:43 2010 +0000
+++ b/engine/core/eventchannel/sdl/ec_isdleventcontroller.h	Mon Feb 22 21:23:01 2010 +0000
@@ -43,12 +43,18 @@
 	class ISdlEventController {
 	public:
 
-		/** Adds a listener to the controller
+		/** Adds a listener to the back of the listener deque
 		 * Listener will be notified via the corresponding events
 		 * @param listener listener to add
 		 */
 		virtual void addSdlEventListener(ISdlEventListener* listener) = 0;
 
+		/** Adds a listener to the front of the listener deque
+		 * Listener will be notified via the corresponding events
+		 * @param listener listener to add
+		 */
+		virtual void addSdlEventListenerFront(ISdlEventListener* listener) = 0;
+
 		/** Removes an added listener from the controller.
 		 * Listener will not be notified anymore via the corresponding events
 		 * @param listener listener to remove