Homepage Demos Overview Downloads Tutorials Reference
Credits
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Search

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: alokl $
00023  * $Name: tekkotsu-1_4_1 $
00024  * $Revision: 1.1.1.1 $
00025  * $State: Exp $
00026  * $Date: 2002/09/30 18:19:47 $
00027  */
00028 
00029 #endif

Tekkotsu v1.4
Generated Sat Jul 19 00:06:30 2003 by Doxygen 1.3.2