S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CIsvTelInfoAppUi Class Reference

#include <IsvTelInfoAppUi.h>

List of all members.

Public Member Functions

 CIsvTelInfoAppUi ()
void ConstructL ()
virtual ~CIsvTelInfoAppUi ()

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 IsvTelInfoAppUi.h.


Constructor & Destructor Documentation

CIsvTelInfoAppUi::CIsvTelInfoAppUi (   ) 
 

Default constructor.

Definition at line 28 of file IsvTelInfoAppUi.cpp.

00029     {
00030     }

CIsvTelInfoAppUi::~CIsvTelInfoAppUi (   )  [virtual]
 

Destructor.

Definition at line 57 of file IsvTelInfoAppUi.cpp.

00058     {
00059     }


Member Function Documentation

void CIsvTelInfoAppUi::ConstructL (   ) 
 

EPOC constructor.

Definition at line 37 of file IsvTelInfoAppUi.cpp.

References iViewId.

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

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

From CEikAppUi, ProcessCommandL. Processes the commands.

Parameters:
aCommand Command to be handled

Definition at line 66 of file IsvTelInfoAppUi.cpp.

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

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

From CEikAppUi, HandleCommandL. Handles the commands.

Parameters:
aCommand Command to be handled

Definition at line 76 of file IsvTelInfoAppUi.cpp.

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


© Nokia 2006

Back to top