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

Definition at line 33 of file aknexnoteappui.h.
Public Member Functions |
|
| CAknExNoteAppUi () | |
| void | ConstructL () |
| virtual | ~CAknExNoteAppUi () |
Private Member Functions |
|
| void | HandleCommandL (TInt aCommand) |
| void | HandleResourceChangeL (TInt aType) |
|
|
CAknExNoteAppUi. C++ default constructor. Definition at line 29 of file aknexnoteappui.cpp.
|
|
|
~CAknExNoteAppUi Virtual Destructor. Definition at line 68 of file aknexnoteappui.cpp.
|
|
|
ConstructL 2nd phase constructor. Definition at line 39 of file aknexnoteappui.cpp. 00040 { 00041 00042 // Initialise app UI with standard value. 00043 BaseConstructL( EAknEnableSkin ); 00044 00045 // Creates CAknExNoteView class object. 00046 CAknExNoteView* view = new( ELeave ) CAknExNoteView; 00047 00048 // Push CAknExNoteView's pointer into CleanUpStack for safety object construction. 00049 CleanupStack::PushL( view ); 00050 00051 //Construct View 00052 view->ConstructL(); 00053 00054 // View is constructed correctly , Pop it's pointer from CleanUpStack 00055 CleanupStack::Pop(); 00056 00057 // Transfer ownership to CAknViewAppUi. 00058 AddViewL( view ); 00059 00060 ActivateLocalViewL( view->Id() ); 00061 }
|
|
|
HandleCommandL Handles the commands.
Definition at line 78 of file aknexnoteappui.cpp. 00079 { 00080 switch ( aCommand ) 00081 { 00082 case EEikCmdExit: 00083 Exit(); 00084 break; 00085 default: 00086 break; 00087 } 00088 }
|
|
|
From CEikAppUi, HandleResourceChangeL. Handles resource changes.
Definition at line 95 of file aknexnoteappui.cpp. 00096 { 00097 CAknAppUi::HandleResourceChangeL( aType ); 00098 if ( aType == KEikDynamicLayoutVariantSwitch ) 00099 { 00100 CAknView* view = View( KViewId ); 00101 view->HandleViewRectChange(); 00102 } 00103 }
|
|
© Nokia 2009 |