Public Member Functions | |
virtual | ~CEventHandler () |
void | HandlePointerEvent (TPointerEvent &aPointerEvent) |
void | InfoMessage (const TDesC &aMsg) |
void | IssueRequest () |
Static Public Member Functions | |
static CEventHandler * | NewL (RWsSession &aWs) |
Event handler class to receive pointer events and handle them
Definition at line 140 of file transparent.h.
CEventHandler::~CEventHandler | ( | ) | [virtual] |
Destructor
Definition at line 58 of file eventhandler.cpp.
CEventHandler * CEventHandler::NewL | ( | RWsSession & | aWs | ) | [static] |
Allocates and constructs a CEventHandler object using two phase construction.
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.
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.
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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.