|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <FilelistAppui.h>
Public Member Functions | |
| void | ConstructL () |
| ~CFilelistAppUi () | |
Private Member Functions | |
| void | DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane) |
| void | HandleCommandL (TInt aCommand) |
| virtual TKeyResponse | HandleKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
| virtual void | HandleResourceChangeL (TInt aType) |
Private Attributes | |
| CFilelistContainer * | iAppContainer |
Definition at line 34 of file FilelistAppui.h.
|
|
Destructor. Definition at line 44 of file FilelistAppui.cpp. References iAppContainer. 00045 { 00046 if ( iAppContainer ) 00047 { 00048 RemoveFromStack( iAppContainer ); 00049 delete iAppContainer; 00050 iAppContainer = NULL; 00051 } 00052 }
|
|
|
Symbian default constructor. Definition at line 31 of file FilelistAppui.cpp. References iAppContainer, and CFilelistContainer::NewL(). 00032 { 00033 BaseConstructL( CAknAppUi::EAknEnableSkin ); 00034 iAppContainer = CFilelistContainer::NewL( ClientRect() ); 00035 AddToStackL( iAppContainer ); 00036 }
|
|
|
From CEikAppUi, takes care of command handling.
Definition at line 85 of file FilelistAppui.cpp. References CFilelistContainer::ChangePrivateFolderL(), CFilelistContainer::ChangeProtectedFolderL(), and iAppContainer. 00086 { 00087 switch ( aCommand ) 00088 { 00089 case EAknSoftkeyExit: 00090 case EEikCmdExit: 00091 { 00092 Exit(); 00093 break; 00094 } 00095 case EFilelistCmdAppPrivFolder1: 00096 { 00097 iAppContainer->ChangePrivateFolderL( EPrivateFolder1 ); 00098 break; 00099 } 00100 case EFilelistCmdAppPrivFolder2: 00101 { 00102 iAppContainer->ChangePrivateFolderL( EPrivateFolder2 ); 00103 break; 00104 } 00105 case EFilelistCmdAppProtFolder: 00106 { 00107 iAppContainer->ChangeProtectedFolderL(); 00108 break; 00109 } 00110 default: 00111 break; 00112 } 00113 }
|
|
||||||||||||
|
From CEikAppUi, handles key events.
Definition at line 74 of file FilelistAppui.cpp.
|
|
|
From CEikAppUi, handles key events.
Definition at line 120 of file FilelistAppui.cpp. References iAppContainer. 00121 { 00122 CAknAppUi::HandleResourceChangeL( aType ); 00123 00124 // ADDED FOR SCALABLE UI SUPPORT 00125 // ***************************** 00126 if ( aType==KEikDynamicLayoutVariantSwitch ) 00127 { 00128 iAppContainer->SetRect( ClientRect() ); 00129 } 00130 //Controls derived from CCoeControl, handled in container class 00131 iAppContainer->HandleResourceChange( aType ); 00132 }
|
|
© Nokia 2006 |