CEventHandler Class Reference

List of all members.

Public Member Functions

virtual ~CEventHandler ()
void HandlePointerEvent (TPointerEvent &aPointerEvent)
void InfoMessage (const TDesC &aMsg)
void IssueRequest ()

Static Public Member Functions

static CEventHandlerNewL (RWsSession &aWs)

Detailed Description

Event handler class to receive pointer events and handle them

Definition at line 140 of file transparent.h.


Constructor & Destructor Documentation

CEventHandler::~CEventHandler (  )  [virtual]

Destructor

Definition at line 58 of file eventhandler.cpp.


Member Function Documentation

CEventHandler * CEventHandler::NewL ( RWsSession &  aWs  )  [static]

Allocates and constructs a CEventHandler object using two phase construction.

Parameters:
aWs Current window server session

Definition at line 30 of file eventhandler.cpp.

void CEventHandler::HandlePointerEvent ( TPointerEvent &  aPointerEvent  ) 

Determines the type of pointer event and prints out which button was pressed as an info message.

Parameters:
aPointerEvent Event determined by RunL()

Definition at line 103 of file eventhandler.cpp.

void CEventHandler::InfoMessage ( const TDesC &  aMsg  ) 

Displays a message in the system default corner of the screen.

Parameters:
TDesC& aMsg A descriptor message

Definition at line 146 of file eventhandler.cpp.

void CEventHandler::IssueRequest (  ) 

Indicates that the active object has issued a request and that the request is now outstanding.

Definition at line 133 of file eventhandler.cpp.


Generated by  doxygen 1.6.2