|
Nokia N97 SDK Example Applications Guide |
#include <SatelliteReferenceAppUi.h>
Inheritance diagram for CSatelliteReferenceAppUi:

Definition at line 40 of file 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. |
|
|
|
Destructor. Definition at line 47 of file SatelliteReferenceAppUi.cpp. References iAppContainer. 00048 { 00049 if (iAppContainer) 00050 { 00051 RemoveFromStack( iAppContainer ); 00052 delete iAppContainer; 00053 } 00054 }
|
|
|
From CEikAppUi, takes care of command handling.
Definition at line 96 of file SatelliteReferenceAppUi.cpp. References iSatelliteInfo. 00097 { 00098 switch ( aCommand ) 00099 { 00100 case EAknSoftkeyBack: 00101 case EAknSoftkeyExit: 00102 case EEikCmdExit: 00103 { 00104 Exit(); 00105 break; 00106 } 00107 00108 case ESatelliteInfoCmd: 00109 { 00110 HBufC* srvName = StringLoader::LoadLC( 00111 R_SATREF_SERVICE_RULE_NAME, 00112 CEikonEnv::Static() ); 00113 // Creating instance of CSatelliteInfo 00114 iSatelliteInfo = CSatelliteInfoUI::NewL(); 00115 00116 //Setting the default satellite view as Firmament view 00117 iSatelliteInfo->SetLaunchView(CSatelliteInfoUI::ESatelliteFirmamentView); 00118 00119 // ExecuteLD displays the satellite dialog. 00120 // The dialog display satellite ID's along with 00121 // their signal strengths depicted using bar's. 00122 iSatelliteInfo->ExecuteLD(*srvName); 00123 00124 CleanupStack::PopAndDestroy(srvName); //srvName 00125 iSatelliteInfo = NULL; 00126 break; 00127 } 00128 00129 default: 00130 { 00131 break; 00132 } 00133 } 00134 }
|
|
||||||||||||
|
From CEikAppUi, handles key events.
Definition at line 74 of file SatelliteReferenceAppUi.cpp.
|
|
|
From CEikAppUi, handles the event when the application is switch between foreground and background Definition at line 84 of file SatelliteReferenceAppUi.cpp. References iSatelliteInfo. 00085 { 00086 if(iSatelliteInfo) 00087 { 00088 iSatelliteInfo->HandleForegroundEventL(aForeground); 00089 } 00090 }
|
|
© Nokia 2009 |