Nokia N97 SDK
Example Applications Guide

CDynamicSettingListAppUi Class Reference

#include <DynamicSettingListAppui.h>

Inheritance diagram for CDynamicSettingListAppUi:

List of all members.

Detailed Description

Application UI class. Provides support for the following features:

Definition at line 32 of file DynamicSettingListAppui.h.


Public Member Functions

void  ConstructL ()
  CDynamicSettingListAppUi ()
  ~CDynamicSettingListAppUi ()
void  HandleCommandL (TInt aCommand)

Private Attributes

CDynamicSettingListAppView *  iAppView


Constructor & Destructor Documentation

CDynamicSettingListAppUi::CDynamicSettingListAppUi (   ) 
 

Constructor

Definition at line 40 of file DynamicSettingListAppui.cpp.

00041     {
00042         // no implementation required
00043     }

CDynamicSettingListAppUi::~CDynamicSettingListAppUi (   ) 
 

Destructor.

Definition at line 46 of file DynamicSettingListAppui.cpp.

References iAppView.

00047     {
00048     if (iAppView)
00049         {
00050         RemoveFromStack(iAppView);
00051         delete iAppView;
00052         iAppView = NULL;
00053         }
00054     }


Member Function Documentation

void CDynamicSettingListAppUi::ConstructL (   ) 
 

Symbian OS default constructor.

Definition at line 28 of file DynamicSettingListAppui.cpp.

References CDynamicSettingListAppView::ConstructL(), and iAppView.

00029     {
00030     BaseConstructL(EAknEnableSkin);
00031 
00032     iAppView = new (ELeave) CDynamicSettingListAppView;
00033     iAppView->SetMopParent(this);
00034     iAppView->ConstructL(ClientRect());
00035 
00036     AddToStackL(iAppView);
00037     }

void CDynamicSettingListAppUi::HandleCommandL (  TInt  aCommand  ) 
 

From CEikAppUi, takes care of command handling.

Parameters:
aCommand  command to be handled

Definition at line 61 of file DynamicSettingListAppui.cpp.

00062     {
00063     switch(aCommand)
00064         {
00065         case EEikCmdExit:
00066         case EAknSoftkeyExit:
00067             Exit();
00068             break;
00069       default:
00070             break;
00071         }
00072     }


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

© Nokia 2009

Back to top