Example Application Guide

 

CGeoProfilesAppUi Class Reference

#include <geoprofilesappui.h>

Inheritance diagram for CGeoProfilesAppUi:

List of all members.

Detailed Description

GeoProfiles Application's App UI class. This class extents the CAknAppUi class for GeoProfiles.

Definition at line 36 of file geoprofilesappui.h.

Public Member Functions

void ConstructL ()
virtual ~CGeoProfilesAppUi ()
void HandleCommandL (TInt aCommand)

Private Member Functions

virtual TKeyResponse HandleKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType)

Private Attributes

CGeoProfilesViewiGeoProfilesView


Constructor & Destructor Documentation

CGeoProfilesAppUi::~CGeoProfilesAppUi  )  [virtual]
 

Virtual destructor

Definition at line 49 of file geoprofilesappui.cpp.

00050     {        
00051     }


Member Function Documentation

void CGeoProfilesAppUi::ConstructL  ) 
 

Second phase of the two phase constructor

Called by the Application framework

Definition at line 33 of file geoprofilesappui.cpp.

References iGeoProfilesView, and CGeoProfilesView::NewL().

00034     {
00035     BaseConstructL( EAknEnableSkin | EAknEnableMSK );
00036         
00037     // Create the View object and add it to the View stack
00038     CGeoProfilesView* view = CGeoProfilesView::NewL();
00039     CleanupStack::PushL( view );        
00040     AddViewL( view );
00041     CleanupStack::Pop( view );
00042     iGeoProfilesView = view;
00043     }

void CGeoProfilesAppUi::HandleCommandL TInt  aCommand  ) 
 

Inherited from CAknViewAppUi

Definition at line 68 of file geoprofilesappui.cpp.

00069     {
00070     switch ( aCommand )
00071         {
00072         case EAknSoftkeyExit: 
00073         case EEikCmdExit:
00074             {
00075             Exit();
00076             break;
00077             }
00078        default: 
00079             {                                       
00080             break; 
00081             }
00082         }
00083     }

TKeyResponse CGeoProfilesAppUi::HandleKeyEventL const TKeyEvent &  aKeyEvent,
TEventCode  aType
[private, virtual]
 

Inherited from CAknViewAppUi

Definition at line 57 of file geoprofilesappui.cpp.

00060     {
00061     return EKeyWasNotConsumed;
00062     }


Member Data Documentation

CGeoProfilesView* CGeoProfilesAppUi::iGeoProfilesView [private]
 

GeoProfiles Application's view class

Definition at line 69 of file geoprofilesappui.h.

Referenced by ConstructL().


The documentation for this class was generated from the following files:

© Nokia 2009

Back to top