EvtKey Class Reference

Class for keyboard events. More...

Inheritance diagram for EvtKey:

Inheritance graph
[legend]
Collaboration diagram for EvtKey:

Collaboration graph
[legend]

Public Types

enum  ActionType_t { kDown, kUp }

Public Member Functions

 EvtKey (intf_thread_t *I, int key, ActionType_t actn, int mod=kModNone)
virtual ~EvtKey ()
virtual const string getAsString () const
 Return the type of the event.
int getKey () const
int getModKey () const
ActionType_t getKeyState () const

Detailed Description

Class for keyboard events.

Member Enumeration Documentation

Enumerator:
kDown 
kUp 


Constructor & Destructor Documentation

EvtKey::EvtKey ( intf_thread_t I,
int  key,
ActionType_t  actn,
int  mod = kModNone 
) [inline]

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


Member Function Documentation

const string EvtKey::getAsString (  )  const [virtual]

Return the type of the event.

Implements EvtGeneric.

References EvtInput::addModifier(), SkinObject::getIntf(), kDown, KeyToString(), kUp, and msg_Warn.

int EvtKey::getKey (  )  const [inline]

Referenced by TopWindow::processEvent().

int EvtKey::getModKey (  )  const [inline]

ActionType_t EvtKey::getKeyState (  )  const [inline]


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

Generated on Tue May 25 08:06:03 2010 for VLC by  doxygen 1.5.6