|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <IsvTelInfoAppView.h>
Public Member Functions | |
| CIsvTelInfoAppView () | |
| void | ConstructL () |
| virtual | ~CIsvTelInfoAppView () |
| CAknTitlePane * | GetTitlePaneL () |
| TStreamId | StoreL (CStreamStore &aStore) const |
| void | RestoreL (const CStreamStore &aStore, const TStreamId aStreamId) |
| TUid | Id () const |
| void | HandleCommandL (TInt aCommand) |
Private Member Functions | |
| void | DoActivateL (const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage) |
| void | DoDeactivate () |
Private Attributes | |
| CIsvTelInfoAppContainer * | iContainer |
Definition at line 33 of file IsvTelInfoAppView.h.
|
|
Default constructor. Definition at line 40 of file IsvTelInfoAppView.cpp. 00041 : iContainer( NULL ) 00042 { 00043 }
|
|
|
Destructor. Definition at line 61 of file IsvTelInfoAppView.cpp. References iContainer. 00062 { 00063 // Deletes the container class object. 00064 if ( iContainer ) 00065 { 00066 // Removes container from view control stack. 00067 AppUi()->RemoveFromStack( iContainer ); 00068 } 00069 delete iContainer; 00070 }
|
|
|
EPOC constructor. Definition at line 50 of file IsvTelInfoAppView.cpp. References iContainer. 00051 { 00052 BaseConstructL( R_ISVTELINFOAPP_VIEW ); 00053 iContainer = new( ELeave ) CIsvTelInfoAppContainer( this ); 00054 }
|
|
|
StoreL called from AppUi class
|
|
||||||||||||
|
RestoreL called from AppUi class
|
|
|
From CAknView, Id. Returns the ID of view.
Definition at line 77 of file IsvTelInfoAppView.cpp.
|
|
|
From CAknView, HandleCommandL. handles the commands. if the command is command which is require to display outline-screen, the command is reported to container class.
Definition at line 87 of file IsvTelInfoAppView.cpp. References CIsvTelInfoAppContainer::DisplayFormL(), and iContainer. 00088 { 00089 switch ( aCommand ) 00090 { 00091 /*case EAknSoftkeyBack and EAknCmdExitare handled by the AppUi class.*/ 00092 case EIsvTelInfoAppCmdLaunchPhOps: 00093 iContainer->DisplayFormL( R_ISVTELINFOAPP_NAVIPANE_DIALOG, 00094 EIsvTelInfoAppPageCtrlIdPagePhoneInfo); 00095 break; 00096 default: 00097 break; 00098 } 00099 }
|
|
||||||||||||||||
|
From CAknView, DoActivateL. Creates the Container class object.
Definition at line 119 of file IsvTelInfoAppView.cpp. References iContainer. 00123 { 00124 // Creates container object. 00125 if ( iContainer ) 00126 { 00127 iContainer->SetMopParent(this); 00128 iContainer->ConstructL( ClientRect() ); 00129 // Adds container to view control stack. 00130 AppUi()->AddToStackL( *this, iContainer ); 00131 } 00132 }
|
|
|
From CAknView, DoDeactivate. Deletes the Container class object. Definition at line 139 of file IsvTelInfoAppView.cpp. References iContainer. 00140 { 00141 // Deletes the container class object. 00142 if ( iContainer ) 00143 { 00144 // Removes container from view control stack. 00145 AppUi()->RemoveFromStack( iContainer ); 00146 delete iContainer; 00147 iContainer = NULL; 00148 } 00149 }
|
|
© Nokia 2006 |