S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CIsvTelCallAppUi Class Reference

#include <IsvTelCallAppUi.h>

List of all members.

Public Member Functions

 CIsvTelCallAppUi ()
void ConstructL ()
virtual ~CIsvTelCallAppUi ()

Private Member Functions

void ProcessCommandL (TInt aCommand)
void HandleCommandL (TInt aCommand)

Private Attributes

TUid iViewId


Detailed Description

Application UI class. Provides support for the following features:

Definition at line 30 of file IsvTelCallAppUi.h.


Constructor & Destructor Documentation

CIsvTelCallAppUi::CIsvTelCallAppUi (   ) 
 

Default constructor.

Definition at line 27 of file IsvTelCallAppUi.cpp.

00028     {
00029     }

CIsvTelCallAppUi::~CIsvTelCallAppUi (   )  [virtual]
 

Destructor.

Definition at line 56 of file IsvTelCallAppUi.cpp.

00057     {
00058     }


Member Function Documentation

void CIsvTelCallAppUi::ConstructL (   ) 
 

EPOC constructor.

Definition at line 36 of file IsvTelCallAppUi.cpp.

References iViewId.

00037     {
00038     BaseConstructL(CAknAppUi::EAknEnableSkin);
00039 
00040     // Creates CIsvTelCallAppView class object.
00041     CIsvTelCallAppView* view = new( ELeave ) CIsvTelCallAppView;
00042     CleanupStack::PushL( view );
00043     view->ConstructL();
00044     AddViewL( view ); // transfer ownership to CAknViewAppUi.
00045     CleanupStack::Pop(); // view
00046 
00047     iViewId = view->Id();
00048     ActivateLocalViewL( iViewId );
00049     }

void CIsvTelCallAppUi::ProcessCommandL (  TInt  aCommand  )  [private]
 

From CEikAppUi, ProcessCommandL. Processes the commands.

Parameters:
aCommand Command to be handled

Definition at line 65 of file IsvTelCallAppUi.cpp.

00066     {
00067     CAknViewAppUi::ProcessCommandL(aCommand);
00068     }

void CIsvTelCallAppUi::HandleCommandL (  TInt  aCommand  )  [private]
 

From CEikAppUi, HandleCommandL. Handles the commands.

Parameters:
aCommand Command to be handled

Definition at line 75 of file IsvTelCallAppUi.cpp.

00076     {
00077     switch ( aCommand )
00078         {
00079         case EAknSoftkeyBack:
00080         case EEikCmdExit:
00081                 {
00082                 PrepareToExit();
00083                 Exit();
00084             break;
00085                 }
00086         default:
00087             break;
00088         }
00089     }


© Nokia 2006

Back to top