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

Definition at line 32 of file tactileexampleappui.h.
Public Member Functions |
|
| CTactileExampleAppUi () | |
| void | ConstructL () |
| virtual | ~CTactileExampleAppUi () |
Private Member Functions |
|
| void | HandleCommandL (TInt aCommand) |
| void | HandleResourceChangeL (TInt aType) |
Private Attributes |
|
| CTactileExampleAppView * | iAppView |
|
|
CTactileExampleAppUi. C++ default constructor. This needs to be public due to the way the framework constructs the AppUi Definition at line 32 of file tactileexampleappui.cpp.
|
|
|
~CTactileExampleAppUi. Virtual Destructor. Definition at line 62 of file tactileexampleappui.cpp. References iAppView. 00063 { 00064 RemoveFromStack( iAppView ); 00065 if ( iAppView ) 00066 { 00067 delete iAppView; 00068 iAppView = NULL; 00069 } 00070 }
|
|
|
ConstructL. 2nd phase constructor. Definition at line 42 of file tactileexampleappui.cpp. References iAppView, and CTactileExampleAppView::NewL(). 00043 { 00044 // Initialise app UI with standard value. 00045 BaseConstructL( CAknAppUi::EAknEnableSkin ); 00046 00047 00048 // Create view object 00049 iAppView = CTactileExampleAppView::NewL( ClientRect() ); 00050 // We need to set the object provider parent for the view, so that 00051 // automatic feedback area disabling works for dimmed and invisible 00052 // controls. 00053 iAppView->SetMopParent( this ); 00054 AddToStackL( iAppView ); 00055 }
|
|
|
From CEikAppUi. Takes care of command handling.
Definition at line 78 of file tactileexampleappui.cpp. 00079 { 00080 switch( aCommand ) 00081 { 00082 case EAknSoftkeyBack: 00083 case EAknSoftkeyExit: 00084 case EEikCmdExit: 00085 Exit(); 00086 break; 00087 00088 default: 00089 break; 00090 } 00091 }
|
|
|
From CEikAppUi. Called by framework when layout is changed.
Definition at line 100 of file tactileexampleappui.cpp. References iAppView. 00101 { 00102 // base-class call also 00103 CAknAppUi::HandleResourceChangeL( aType ); 00104 if ( aType == KEikDynamicLayoutVariantSwitch ) 00105 { 00106 if ( iAppView ) 00107 { 00108 iAppView->SetRect( ClientRect() ); 00109 } 00110 } 00111 }
|
|
|
The application view Own. Definition at line 80 of file tactileexampleappui.h. Referenced by ConstructL(), HandleResourceChangeL(), and ~CTactileExampleAppUi(). |
|
© Nokia 2009 |