Quad Pang
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions
EventListener Class Reference

Implement this interface and register to receive event notifications from Engine. More...

#include <Event.h>

Inheritance diagram for EventListener:
ViewController ViewController

List of all members.

Public Types

enum  EventType { EV_CANCEL = 0, EV_TICK, EV_CANCEL = 0, EV_TICK }
enum  EventType { EV_CANCEL = 0, EV_TICK, EV_CANCEL = 0, EV_TICK }

Public Member Functions

virtual ~EventListener ()
virtual bool Handle (EventType etype)=0
virtual ~EventListener ()
virtual bool Handle (EventType etype)=0

Detailed Description

Implement this interface and register to receive event notifications from Engine.

Definition at line 10 of file Event.h.


Member Enumeration Documentation

Enumerator:
EV_CANCEL 

Cancel operation. Excape sequence.

EV_TICK 

timer tick

EV_CANCEL 

Cancel operation. Excape sequence.

EV_TICK 

timer tick

Definition at line 13 of file Event.h.

    {
        EV_CANCEL = 0,
        EV_TICK
    };
Enumerator:
EV_CANCEL 

Cancel operation. Excape sequence.

EV_TICK 

timer tick

EV_CANCEL 

Cancel operation. Excape sequence.

EV_TICK 

timer tick

Definition at line 13 of file Event.h.

    {
        EV_CANCEL = 0,
        EV_TICK
    };

Constructor & Destructor Documentation

virtual EventListener::~EventListener ( ) [inline, virtual]

Definition at line 21 of file Event.h.

{}
virtual EventListener::~EventListener ( ) [inline, virtual]

Definition at line 21 of file Event.h.

{}

Member Function Documentation

virtual bool EventListener::Handle ( EventType  etype) [pure virtual]

Implemented in ViewController, and ViewController.

virtual bool EventListener::Handle ( EventType  etype) [pure virtual]

Implemented in ViewController, and ViewController.


The documentation for this class was generated from the following files: