/[adonthell]/adonthell/src/event/listener.h
ViewVC logotype

Diff of /adonthell/src/event/listener.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by ksterker, Mon Nov 15 08:54:33 2004 UTC revision 1.6 by ksterker, Tue Dec 7 16:46:27 2004 UTC
# Line 37  Line 37 
37  /**  /**
38   * Pointer to a function returning a newly allocated %event   * Pointer to a function returning a newly allocated %event
39   */   */
40  typedef event::event* (*new_event)();  typedef events::event* (*new_event)();
41  #endif // SWIG  #endif // SWIG
42    
43  namespace event  namespace events
44  {  {
45      class factory;      class factory;
46    
# Line 307  namespace event Line 307  namespace event
307   * A function that returns a new instance of an %event.   * A function that returns a new instance of an %event.
308   */   */
309  #define NEW_EVENT(evt)\  #define NEW_EVENT(evt)\
310      event::event* new_ ## evt () { return (event::event*) new event::evt; }      events::event* new_ ## evt () { return (events::event*) new events::evt; }
311    
312  #endif // SWIG  #endif // SWIG
313  #endif // EVENT_LISTENER_H  #endif // EVENT_LISTENER_H

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26