diff engine/core/eventchannel/mouse/ec_imousecontroller.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/mouse/ec_imousecontroller.h	Sat Feb 20 21:41:43 2010 +0000
+++ b/engine/core/eventchannel/mouse/ec_imousecontroller.h	Mon Feb 22 21:23:01 2010 +0000
@@ -36,19 +36,25 @@
 
 namespace FIFE {
 	class IMouseListener;
-	
+
 	/**  Controller provides a way to receive events from the system
 	 * Using this interface, clients can subscribe themselves to receive events
 	 */
 	class IMouseController {
 	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 addMouseListener(IMouseListener* 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 addMouseListenerFront(IMouseListener* listener) = 0;
+
 		/** Removes an added listener from the controller.
 		 * Listener will not be notified anymore via the corresponding events
 		 * @param listener listener to remove