[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-commits] CVS: adonthell/src event_handler_base.h,1.1.2.2,1.1.
From: |
Kai Sterker <address@hidden> |
Subject: |
[Adonthell-commits] CVS: adonthell/src event_handler_base.h,1.1.2.2,1.1.2.3 |
Date: |
Fri, 28 Jun 2002 05:34:15 -0400 |
Update of /cvsroot/adonthell/adonthell/src
In directory subversions:/tmp/cvs-serv11929
Modified Files:
Tag: Branch_road_to_0-4
event_handler_base.h
Log Message:
ADDED comments(?)
Index: event_handler_base.h
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/Attic/event_handler_base.h,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** event_handler_base.h 15 Jun 2002 20:23:24 -0000 1.1.2.2
--- event_handler_base.h 28 Jun 2002 09:34:13 -0000 1.1.2.3
***************
*** 2,6 ****
$Id$
! Copyright (C) 2002 Kai Sterker <address@hidden>
Part of the Adonthell Project http://adonthell.linuxgames.com
--- 2,6 ----
$Id$
! Copyright (C) 2000/2001/2002 Kai Sterker <address@hidden>
Part of the Adonthell Project http://adonthell.linuxgames.com
***************
*** 13,21 ****
*/
/**
! * @file event_handler_base.h
! *
! * @author Kai Sterker
! * @brief Base class for %event handlers.
*/
--- 13,23 ----
*/
+
/**
! * @file event_handler_base.h
! * @author Kai Sterker <address@hidden>
! *
! * @brief Declares the base class for event handlers.
! *
*/
***************
*** 26,47 ****
/**
! * Docu follows soon ...
! */
class event_handler_base
{
public:
- virtual ~event_handler_base () { }
/**
*/
! virtual void register_event (event *evnt) = 0;
!
! /**
*/
! virtual void remove_event (event *evnt) = 0;
!
! /**
*/
! virtual void raise_event (const event &evnt) = 0;
};
--- 28,64 ----
/**
! * This is the base class for actual event handlers. It
! * keeps track of registered scripts, recieves triggered events
! * and executes scripts handling those events
! */
class event_handler_base
{
public:
/**
+ * Destructor
*/
! virtual ~event_handler_base () {}
!
! /**
! * Registers an event.
! *
! * @param ev pointer to the event to register.
*/
! virtual void register_event (event* ev) = 0;
!
! /**
! * Unregister an event.
! *
! * @param ev pointer to the event to unregister.
! */
! virtual void remove_event (event* ev) = 0;
!
! /**
! * Check if an event corresponding to ev exists, and execute it.
! *
! * @param ev event to raise.
*/
! virtual void raise_event (const event& ev) = 0;
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Adonthell-commits] CVS: adonthell/src event_handler_base.h,1.1.2.2,1.1.2.3,
Kai Sterker <address@hidden> <=
- Prev by Date:
[Adonthell-commits] CVS: adonthell/src atk_theme.cc,1.1.2.2,1.1.2.3 atk_theme.h,1.1.2.2,1.1.2.3
- Next by Date:
[Adonthell-commits] CVS: wastesedge ABOUT-NLS,NONE,1.1
- Previous by thread:
[Adonthell-commits] CVS: adonthell/src atk_theme.cc,1.1.2.2,1.1.2.3 atk_theme.h,1.1.2.2,1.1.2.3
- Next by thread:
[Adonthell-commits] CVS: wastesedge ABOUT-NLS,NONE,1.1
- Index(es):