diff engine/core/eventchannel/eventchannel.i @ 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 64738befdf3b
children 010da1d1ee1c
line wrap: on
line diff
--- a/engine/core/eventchannel/eventchannel.i	Sat Feb 20 21:41:43 2010 +0000
+++ b/engine/core/eventchannel/eventchannel.i	Mon Feb 22 21:23:01 2010 +0000
@@ -179,10 +179,13 @@
 		EventManager();
 		virtual ~EventManager();
 		void addCommandListener(ICommandListener* listener);
+		void addCommandListenerFront(ICommandListener* listener);
 		void removeCommandListener(ICommandListener* listener);
 		void addKeyListener(IKeyListener* listener);
+		void addKeyListenerFront(IKeyListener* listener);
 		void removeKeyListener(IKeyListener* listener);
 		void addMouseListener(IMouseListener* listener);
+		void addMouseListenerFront(IMouseListener* listener);
 		void removeMouseListener(IMouseListener* listener);
 		EventSourceType getEventSourceType();
 		void dispatchCommand(Command& command);