|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <SatelliteReferenceAppUi.h>
Public Member Functions | |
| void | ConstructL () |
| ~CSatelliteReferenceAppUi () | |
Private Member Functions | |
| void | DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane) |
| void | HandleCommandL (TInt aCommand) |
| virtual TKeyResponse | HandleKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
| void | HandleForegroundEventL (TBool aForeground) |
Private Attributes | |
| CSatelliteReferenceContainer * | iAppContainer |
| CSatelliteInfoUI * | iSatelliteInfo |
| Pointer to CSatelliteUI. | |
Definition at line 40 of file SatelliteReferenceAppUi.h.
|
|
Destructor. Definition at line 46 of file SatelliteReferenceAppUi.cpp. References iAppContainer. 00047 { 00048 if (iAppContainer) 00049 { 00050 RemoveFromStack( iAppContainer ); 00051 delete iAppContainer; 00052 } 00053 }
|
|
|
From CEikAppUi, takes care of command handling.
Definition at line 95 of file SatelliteReferenceAppUi.cpp. References iSatelliteInfo. 00096 { 00097 switch ( aCommand ) 00098 { 00099 case EAknSoftkeyBack: 00100 case EEikCmdExit: 00101 { 00102 Exit(); 00103 break; 00104 } 00105 00106 case ESatelliteInfoCmd: 00107 { 00108 HBufC* srvName = StringLoader::LoadLC( 00109 R_SATREF_SERVICE_RULE_NAME, 00110 CEikonEnv::Static() ); 00111 // Creating instance of CSatelliteInfo 00112 iSatelliteInfo = CSatelliteInfoUI::NewL(); 00113 00114 // ExecuteLD displays the satellite dialog. 00115 // The dialog display satellite ID's along with 00116 // their signal strengths depicted using bar's. 00117 iSatelliteInfo->ExecuteLD(*srvName); 00118 00119 CleanupStack::PopAndDestroy(srvName); //srvName 00120 iSatelliteInfo = NULL; 00121 break; 00122 } 00123 00124 default: 00125 { 00126 break; 00127 } 00128 } 00129 }
|
|
||||||||||||
|
From CEikAppUi, handles key events.
Definition at line 73 of file SatelliteReferenceAppUi.cpp.
|
|
|
From CEikAppUi, handles the event when the application is switch between foreground and background Definition at line 83 of file SatelliteReferenceAppUi.cpp. References iSatelliteInfo. 00084 { 00085 if(iSatelliteInfo) 00086 { 00087 iSatelliteInfo->HandleForegroundEventL(aForeground); 00088 } 00089 }
|
|
© Nokia 2006 |