Nokia N97 SDK
Example Applications Guide

CUEExAppUi Class Reference

#include <ueexappui.h>

Inheritance diagram for CUEExAppUi:

List of all members.

Detailed Description

CUEExAppUi application UI class. Interacts with the user through the UI and request message processing from the handler class

Definition at line 22 of file ueexappui.h.


Public Member Functions

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


Constructor & Destructor Documentation

CUEExAppUi::CUEExAppUi (   ) 
 

CUEExAppUi. C++ default constructor. This needs to be public due to the way the framework constructs the AppUi

Definition at line 46 of file ueexappui.cpp.

00047     {
00048         // no implementation required
00049     }

CUEExAppUi::~CUEExAppUi (   )  [virtual]
 

~CUEExAppUi. Virtual Destructor.

Definition at line 56 of file ueexappui.cpp.

00057     {
00058     }


Member Function Documentation

void CUEExAppUi::ConstructL (   ) 
 

ConstructL. 2nd phase constructor.

Definition at line 28 of file ueexappui.cpp.

00029     {
00030     BaseConstructL( EAknEnableSkin );
00031     
00032     // Show the form and get out of here
00033     CUEExForm* form = new ( ELeave ) CUEExForm;
00034     CleanupStack::PushL( form );
00035     form->ConstructL( R_FORM_MENUBAR );
00036     CleanupStack::Pop();
00037     form->ExecuteLD( R_DIALOG1 );
00038     Exit();
00039     }

void CUEExAppUi::HandleCommandL (  TInt  aCommand  ) 
 

From CEikAppUi, HandleCommandL. Takes care of command handling.

Parameters:
aCommand  Command to be handled.

Definition at line 65 of file ueexappui.cpp.

00066     {
00067     switch( aCommand )
00068         {
00069         case EEikCmdExit:
00070         case EAknSoftkeyExit:
00071             Exit();
00072             break;
00073 
00074         default:
00075             Panic( EUEExBasicUi );
00076             break;
00077         }
00078     }


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

© Nokia 2009

Back to top