Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

MInputReader Class Reference

Provides access to the devices's touchscreen and remode control. More...

#include <MInputReader.h>

List of all members.

Public Types

enum  EKeyCode {
  KKeyNone, KKeyUp, KKeyDown, KKeyLeft,
  KKeyRight, KKeyKeyboard, KKeyOK, KKeyLeftBottom,
  KKeyRightBottom, KKeyVolumeUp, KKeyVolumeDown
}
 Remote control key codes.


Public Member Functions

virtual bool GetTouchEvent (TTouchEventData &aTouchData)=0
 Reads pending touchpad events.

virtual bool GetKeyEvent (TKeyEventData &aKeyData)=0
 Reads pending keyboard or remote control events.


Static Public Member Functions

MInputReaderGetInputReader ()
 Singleton method used to obtain the reference to default MInputReader interface for current device.


Detailed Description

Provides access to the devices's touchscreen and remode control.

This interface is for obtaining the user's input. There could be only and only one user input interface instance. The reference to it could be returned by static GetInputReader() method of this interface


Member Function Documentation

virtual bool MInputReader::GetKeyEvent TKeyEventData aKeyData  )  [pure virtual]
 

Reads pending keyboard or remote control events.

Returns true in case the event data are available

Parameters:
aKeyData A reference to TKeyEventData to store input data

virtual bool MInputReader::GetTouchEvent TTouchEventData aTouchData  )  [pure virtual]
 

Reads pending touchpad events.

Returns true in case the event data are available

Parameters:
aTouchData A reference to TTouchEventData to store input data


The documentation for this class was generated from the following file:
Generated on Fri Jul 15 16:46:44 2005 for TomTom GO User Interface library by doxygen 1.3.5