Homepage Demos Overview Downloads Tutorials Reference
Credits

EventListener.h

Go 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-2_2_1 $
00024  * $Revision: 1.2 $
00025  * $State: Rel $
00026  * $Date: 2003/09/25 15:27:10 $
00027  */
00028 
00029 #endif

Tekkotsu v2.2.1
Generated Tue Nov 23 16:36:38 2004 by Doxygen 1.3.9.1