void CEvent3dMouseListener::removeFromServer (CEventServer& server) { server.removeListener (EventMouseMoveId, this); server.removeListener (EventMouseDownId, this); server.removeListener (EventMouseUpId, this); server.removeListener (EventMouseWheelId, this); _AsyncListener.removeFromServer (server); }
//--------------------------------------------------- // removeFromServer : // Remove the listener to the server. //--------------------------------------------------- void CEventsListener::removeFromServer (CEventServer& server) { server.removeListener(EventGDMouseMove, this); server.removeListener(EventMouseMoveId, this); server.removeListener(EventMouseDownId, this); server.removeListener(EventMouseUpId, this); server.removeListener(EventMouseWheelId,this); server.removeListener(EventKeyDownId, this); server.removeListener(EventKeyUpId, this); server.removeListener(EventDestroyWindowId,this); server.removeListener(EventSetFocusId, this); }// removeFromServer //