CHnEventHandler Class Reference
class CHnEventHandler : public CBase |
Event handler class.
Event Handler is designed to handle events. It reveives an event id from the UI, mapps this event into an appropriate action, and runs this action.
hnpresentationmodel
- Since
- S60 5.0
Constructor & Destructor Documentation
CHnEventHandler(MHnMdModelEventObserver &, MHnControllerInterface &)
Constructor for performing 1st stage construction
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
EPOC default constructor for performing 2nd stage construction
ExecuteActionL(CHnActionModel *)
IMPORT_C TInt | ExecuteActionL | ( | CHnActionModel * | aActionModel | ) | |
Executes the action that was found in the Model.
- Since
- S60 v3.2
CHnActionModel
Parameters
CHnActionModel * aActionModel | A pointer to the object of the CHnActionModel class. |
ExecuteExtensionManagerActionL(CHnActionModel *)
TInt
| ExecuteExtensionManagerActionL | ( | CHnActionModel * | aActionModel | ) | [private] |
Executes action from Extension Manager.
Parameters
CHnActionModel * aActionModel | Model of the action. |
ExecuteInternalActionL(CHnActionModel *)
TInt
| ExecuteInternalActionL | ( | CHnActionModel * | aActionModel | ) | [private] |
Notifies UI about actions that can be passed back to the UI, i.e. openning nested suites, widget change.
Parameters
CHnActionModel * aActionModel | Model of the action. |
ExecuteStandardActionL(CHnActionModel *)
TInt
| ExecuteStandardActionL | ( | CHnActionModel * | aActionModel | ) | [private] |
Uses default mechanism to execute an action.
Parameters
CHnActionModel * aActionModel | Model of the action. |
ExtractUidFromActionL(const TDesC8 &, TUid &)
TInt
| ExtractUidFromActionL | ( | const TDesC8 & | aInterface, |
| TUid & | aUid |
| ) | [private] |
Extracts extension uid from the action.
Parameters
const TDesC8 & aInterface | Interface to invoke action on. |
TUid & aUid | The resulting UID. |
HandleNotifyL(TInt, TInt, CLiwGenericParamList &, const CLiwGenericParamList &)
NewL(MHnMdModelEventObserver &, MHnControllerInterface &)
NewLC(MHnMdModelEventObserver &, MHnControllerInterface &)
Member Data Documentation
MHnControllerInterface & iControllerInterface
Not own. Reference to App UI - Event observer.
MHnMdModelEventObserver & iEventObserver
Not own. Reference to HnEngine - Event observer.
TBool
iIsExecutingStandardAsyncAction
TBool
| iIsExecutingStandardAsyncAction | [private] |
ETrue if a standard asynchroneous action is being executed by this event handler.
CHnServiceHandler * iServiceHandler
CHnServiceHandler * | iServiceHandler | [private] |
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.