|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <RainAppUi.h>
Public Member Functions | |
| void | ConstructL () |
| virtual | ~CRainAppUi () |
Private Member Functions | |
| void | DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane) |
| void | HandleCommandL (TInt aCommand) |
| virtual TKeyResponse | HandleKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
Private Attributes | |
| CRainContainer * | iAppContainer |
Definition at line 34 of file RainAppUi.h.
|
|
Destructor. Removes CRainContainer from the control stack and destroys it. Definition at line 46 of file RainAppUi.cpp. References iAppContainer. 00047 { 00048 if ( iAppContainer ) 00049 { 00050 RemoveFromStack( iAppContainer ); 00051 delete iAppContainer; 00052 } 00053 }
|
|
|
Second phase constructor. Creates the CRainContainer and adds it to the control stack. Definition at line 31 of file RainAppUi.cpp. References CRainContainer::ConstructL(), and iAppContainer. 00032 { 00033 BaseConstructL(); 00034 iAppContainer = new (ELeave) CRainContainer; 00035 iAppContainer->SetMopParent(this); 00036 iAppContainer->ConstructL( ClientRect() ); 00037 AddToStackL( iAppContainer ); 00038 }
|
|
||||||||||||
|
This method is called by the EIKON framework just before it displays a menu pane. Builds the dynamic menuitems for toggling the various options in the example. Definition at line 63 of file RainAppUi.cpp.
|
|
|
CEikAppUi method that is used to handle user commands. Handles menu commands and application exit request.
Definition at line 85 of file RainAppUi.cpp. 00086 { 00087 switch ( aCommand ) 00088 { 00089 case EAknSoftkeyBack: 00090 case EEikCmdExit: 00091 { 00092 Exit(); 00093 break; 00094 } 00095 default: 00096 break; 00097 } 00098 }
|
|
||||||||||||
|
CEikAppUi method that is used to handle key events. Does nothing in this implemenation.
Definition at line 74 of file RainAppUi.cpp.
|
|
|
GUI container that resides in this application UI. Definition at line 81 of file RainAppUi.h. |
|
© Nokia 2006 |