|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <IsvTelCallAppView.h>
Public Member Functions | |
| CIsvTelCallAppView () | |
| void | ConstructL () |
| virtual | ~CIsvTelCallAppView () |
| CAknTitlePane * | GetTitlePaneL () |
| TUid | Id () const |
| void | HandleCommandL (TInt aCommand) |
Static Public Member Functions | |
| static CIsvTelCallAppView * | NewL () |
Private Member Functions | |
| void | DoActivateL (const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage) |
| void | DoDeactivate () |
Private Attributes | |
| CIsvTelCallAppContainer * | iContainer |
Definition at line 33 of file IsvTelCallAppView.h.
|
|
Default constructor. Definition at line 40 of file IsvTelCallAppView.cpp. 00041 : iContainer( NULL ) 00042 { 00043 }
|
|
|
Destructor. Definition at line 61 of file IsvTelCallAppView.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 }
|
|
|
Two-phased constructor.
|
|
|
EPOC constructor. Definition at line 50 of file IsvTelCallAppView.cpp. References iContainer. 00051 { 00052 BaseConstructL( R_ISVTELCALLAPP_VIEW ); 00053 iContainer = new( ELeave ) CIsvTelCallAppContainer( this ); 00054 }
|
|
|
From CAknView, Id. Returns the ID of view.
Definition at line 77 of file IsvTelCallAppView.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 IsvTelCallAppView.cpp. References CIsvTelCallAppContainer::DisplayFormL(), and iContainer. 00088 { 00089 switch ( aCommand ) 00090 { 00091 //case EAknSoftkeyBack and EAknCmdExit are handled by the AppUi class. 00092 case EIsvTelCallAppCmdLaunchPhOps: 00093 { 00094 iContainer->DisplayFormL( R_ISVTELCALLAPP_NAVIPANE_DIALOG, 00095 EIsvTelCallAppPageCtrlIdPagePhone1); 00096 } 00097 break; 00098 default: 00099 break; 00100 } 00101 }
|
|
||||||||||||||||
|
From CAknView, DoActivateL. Creates the Container class object.
Definition at line 122 of file IsvTelCallAppView.cpp. References iContainer. 00126 { 00127 // Creates container object. 00128 if ( iContainer ) 00129 { 00130 iContainer->SetMopParent(this); 00131 iContainer->ConstructL( ClientRect() ); 00132 // Adds container to view control stack. 00133 AppUi()->AddToStackL( *this, iContainer ); 00134 } 00135 }
|
|
|
From CAknView, DoDeactivate. Deletes the Container class object. Definition at line 142 of file IsvTelCallAppView.cpp. References iContainer. 00143 { 00144 // Deletes the container class object. 00145 if ( iContainer ) 00146 { 00147 // Removes container from view control stack. 00148 AppUi()->RemoveFromStack( iContainer ); 00149 delete iContainer; 00150 iContainer = NULL; 00151 } 00152 }
|
|
© Nokia 2006 |