|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <SnowAppUi.h>
Public Member Functions | |
| void | ConstructL () |
| virtual | ~CSnowAppUi () |
Private Member Functions | |
| void | DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane) |
| void | HandleCommandL (TInt aCommand) |
| virtual TKeyResponse | HandleKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
Private Attributes | |
| CSnowContainer * | iAppContainer |
Definition at line 35 of file SnowAppUi.h.
|
|
Destructor. Removes CSnowContainer from the control stack and destroys it. Definition at line 45 of file SnowAppUi.cpp. References iAppContainer. 00046 { 00047 if ( iAppContainer ) 00048 { 00049 RemoveFromStack( iAppContainer ); 00050 delete iAppContainer; 00051 } 00052 }
|
|
|
Second phase constructor. Creates the CSnowContainer and adds it to the control stack. Definition at line 30 of file SnowAppUi.cpp. References CSnowContainer::ConstructL(), and iAppContainer. 00031 { 00032 BaseConstructL(); 00033 iAppContainer = new (ELeave) CSnowContainer; 00034 iAppContainer->SetMopParent(this); 00035 iAppContainer->ConstructL( ClientRect() ); 00036 AddToStackL( iAppContainer ); 00037 }
|
|
||||||||||||
|
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 62 of file SnowAppUi.cpp.
|
|
|
CEikAppUi method that is used to handle user commands. Handles menu commands and application exit request.
Definition at line 82 of file SnowAppUi.cpp. 00083 { 00084 switch ( aCommand ) 00085 { 00086 case EAknSoftkeyBack: 00087 case EEikCmdExit: 00088 { 00089 Exit(); 00090 break; 00091 } 00092 default: 00093 break; 00094 } 00095 }
|
|
||||||||||||
|
CEikAppUi method that is used to handle key events. Does nothing in this implemenation.
Definition at line 72 of file SnowAppUi.cpp.
|
|
|
GUI container that resides in this application UI. Definition at line 82 of file SnowAppUi.h. |
|
© Nokia 2006 |