|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <LmUiRefAppUi.h>
Public Member Functions | |
| void | ConstructL () |
| ~CLmUiRefAppUi () | |
| CLmUiRefAppDocument & | Document () const |
Private Member Functions | |
| void | DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane) |
| void | HandleCommandL (TInt aCommand) |
| virtual TKeyResponse | HandleKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
Definition at line 46 of file LmUiRefAppUi.h.
|
|
Destructor. Definition at line 50 of file LmUiRefAppUi.cpp.
|
|
|
EPOC default constructor. Definition at line 36 of file LmUiRefAppUi.cpp. References CLmUiRefAppView::NewLC(). 00037 { 00038 BaseConstructL(EAknEnableSkin); 00039 CLmUiRefAppView* lmView = CLmUiRefAppView::NewLC(); 00040 AddViewL(lmView); // Transfer Ownership 00041 CleanupStack::Pop(); 00042 SetDefaultViewL(*lmView); 00043 }
|
|
|
Return reference to document
Definition at line 85 of file LmUiRefAppUi.cpp. 00086 { 00087 // Explicit cast: the document must always be of type CLmkDocument 00088 CLmUiRefAppDocument* document = 00089 static_cast<CLmUiRefAppDocument*>( CEikAppUi::Document() ); 00090 00091 return *document; 00092 }
|
|
|
From CEikAppUi, takes care of command handling.
Definition at line 100 of file LmUiRefAppUi.cpp. 00101 { 00102 switch ( aCommand ) 00103 { 00104 // these all are same: exit 00105 case EAknSoftkeyBack: 00106 case EAknSoftkeyExit: 00107 case EEikCmdExit: 00108 { 00109 Exit(); 00110 break; 00111 } 00112 default: 00113 break; 00114 } 00115 }
|
|
||||||||||||
|
From CEikAppUi, handles key events.
Definition at line 75 of file LmUiRefAppUi.cpp.
|
|
© Nokia 2006 |