Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Common::EventManager Class Reference

#include <events.h>

Inheritance diagram for Common::EventManager:


List of all members.

Detailed Description

The EventManager provides user input events to the client code. In addition, it keeps track of the state of various input devices, like keys, mouse position and buttons.

Definition at line 324 of file events.h.

Public Types

enum  { LBUTTON = 1 << 0, RBUTTON = 1 << 1 }
enum  { kEventManPriority = 0 }

Public Member Functions

virtual int getButtonState () const =0
EventDispatchergetEventDispatcher ()
virtual int getModifierState () const =0
virtual Common::Point getMousePos () const =0
virtual void init ()
virtual bool pollEvent (Common::Event &event)=0
virtual void pushEvent (const Common::Event &event)=0
virtual void resetRTL ()=0
virtual int shouldQuit () const =0
virtual int shouldRTL () const =0

Protected Attributes

EventDispatcher _dispatcher

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

Generated by  Doxygen 1.6.0   Back to index