|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <BrCtlSampleAppUi.h>
Public Member Functions | |
| void | ConstructL () |
| ~CBrCtlSampleAppUi () | |
Private Member Functions | |
| void | DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane) |
| void | HandleCommandL (TInt aCommand) |
| virtual TKeyResponse | HandleKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
Private Attributes | |
| CBrCtlSampleAppContainer * | iAppContainer |
Definition at line 36 of file BrCtlSampleAppUi.h.
|
|
Destructor. Definition at line 47 of file BrCtlSampleAppUi.cpp. References iAppContainer. 00048 { 00049 if (iAppContainer) 00050 { 00051 RemoveFromStack( iAppContainer ); 00052 delete iAppContainer; 00053 } 00054 00055 }
|
|
|
EPOC default constructor. Definition at line 32 of file BrCtlSampleAppUi.cpp. References CBrCtlSampleAppContainer::ConstructL(), and iAppContainer. 00033 { 00034 BaseConstructL(CAknAppUi::EAknEnableSkin); 00035 iAppContainer = new (ELeave) CBrCtlSampleAppContainer; 00036 iAppContainer->SetMopParent(this); 00037 iAppContainer->ConstructL( ClientRect() ); 00038 AddToStackL( iAppContainer ); 00039 }
|
|
|
From CEikAppUi, takes care of command handling.
Definition at line 88 of file BrCtlSampleAppUi.cpp. References CBrCtlSampleAppContainer::HandleCommandL(), and iAppContainer. 00089 { 00090 switch ( aCommand ) 00091 { 00092 case EAknSoftkeyBack: 00093 case EEikCmdExit: 00094 { 00095 Exit(); 00096 break; 00097 } 00098 00099 default: 00100 iAppContainer->HandleCommandL(aCommand); 00101 break; 00102 } 00103 }
|
|
||||||||||||
|
From CEikAppUi, handles key events.
Definition at line 77 of file BrCtlSampleAppUi.cpp. References CBrCtlSampleAppContainer::HandleKeyEventL(), and iAppContainer. 00079 { 00080 return iAppContainer->HandleKeyEventL(aKeyEvent, aType);; 00081 }
|
|
© Nokia 2006 |