Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
EventListener.hGo to the documentation of this file.00001 #ifndef INCLUDED_EventListener_h 00002 #define INCLUDED_EventListener_h 00003 00004 #include "EventBase.h" 00005 00006 //! An interface to allow a standard method of passing events 00007 class EventListener { 00008 public: 00009 //! destructor 00010 virtual ~EventListener() {} 00011 00012 //! for receiving events - you must override this to inherit 00013 /*! @see EventRouter 00014 * @param event the event being received */ 00015 virtual void processEvent(const EventBase& event)=0; 00016 }; 00017 00018 /*! @file 00019 * @brief Defines EventListener class, an interface for anything that wants to receive events 00020 * @author ejt (Creator) 00021 * 00022 * $Author: ejt $ 00023 * $Name: tekkotsu-4_0 $ 00024 * $Revision: 1.2 $ 00025 * $State: Rel $ 00026 * $Date: 2003/09/25 15:27:10 $ 00027 */ 00028 00029 #endif |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:54:52 2007 by Doxygen 1.5.4 |