Nokia N97 SDK
Example Applications Guide

CLongTapDetectorExAppUi Class Reference

#include <longtapdetectorexappui.h>

Inheritance diagram for CLongTapDetectorExAppUi:

List of all members.

Detailed Description

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

Definition at line 24 of file longtapdetectorexappui.h.


Public Member Functions

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

Private Attributes

CLongTapDetectorExContainer *  iAppContainer


Constructor & Destructor Documentation

CLongTapDetectorExAppUi::CLongTapDetectorExAppUi (   ) 
 

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

Definition at line 41 of file longtapdetectorexappui.cpp.

00042     {
00043         // no implementation required
00044     }

CLongTapDetectorExAppUi::~CLongTapDetectorExAppUi (   )  [virtual]
 

~CLongTapDetectorExAppUi. Virtual Destructor.

Definition at line 51 of file longtapdetectorexappui.cpp.

References iAppContainer.

00052     {
00053     if ( iAppContainer )
00054         {
00055         RemoveFromStack( iAppContainer );
00056         delete iAppContainer;
00057         }
00058     }


Member Function Documentation

void CLongTapDetectorExAppUi::ConstructL (   ) 
 

ConstructL. 2nd phase constructor.

Definition at line 25 of file longtapdetectorexappui.cpp.

References CLongTapDetectorExContainer::ConstructL(), and iAppContainer.

00026     {
00027     BaseConstructL( EAknEnableSkin );
00028     
00029     iAppContainer = new ( ELeave ) CLongTapDetectorExContainer();
00030     iAppContainer->SetMopParent( this );
00031     iAppContainer->ConstructL( ClientRect() );
00032     
00033     AddToStackL( iAppContainer );
00034     }

void CLongTapDetectorExAppUi::HandleCommandL (  TInt  aCommand  ) 
 

From CEikAppUi, HandleCommandL. Takes care of command handling.

Parameters:
aCommand  Command to be handled.

Definition at line 65 of file longtapdetectorexappui.cpp.

00066     {
00067     switch( aCommand )
00068         {
00069         case EEikCmdExit:
00070         case EAknSoftkeyExit:
00071             Exit();
00072             break;
00073         default:
00074             return;
00075         }
00076     iAppContainer->DrawDeferred();        
00077         }


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

© Nokia 2009

Back to top