Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Data Fields | Globals

eventlistener.h

Go to the documentation of this file.
00001 //--- < EVENTLISTENER.H > -------| ViewGraph - A Flexible Graph view Framework |
00002 //
00003 // Event listeners receive events they are 
00004 // interested in. Derive your
00005 // class from EventListener to be able to 
00006 // listen to events from other objects.
00007 //
00008 // $Author: botik32 $
00009 // $Revision: 1.1 $
00010 // $Date: 2004/04/30 12:39:21 $
00011 //-----------------------------------------------------------------------------/
00012 
00013 #ifndef EVENTLISTENER_H
00014 #define EVENTLISTENER_H
00015 
00016 class Event;
00017 
00018 class EventListener
00019 {
00020 protected:
00021 public:
00022         virtual void listen_event( Event * ){};
00023 };
00024 
00025 #endif
00026 
00027 // $Log: eventlistener.h,v $
00028 // Revision 1.1  2004/04/30 12:39:21  botik32
00029 // Numerous changes related to making the SceneChangedEvents
00030 // to work.
00031 // - Moved listen_event() from BaseSceneNode to EventListener class
00032 // - Made GroupNode listen to the added children's SceneChangedEvents
00033 // - Changed Camera to listen to layers' SceneChangedEvents
00034 // - Moved eventlistener list cleanup from Camera to EventHub class
00035 //   where it belonged in the first place
00036 //

Generated on Wed Jun 23 18:47:21 2004 for cZUI by doxygen 1.3.5