Nokia N97 SDK
Example Applications Guide

CHelpExampleDocument Class Reference

#include <helpexampledocument.h>

Inheritance diagram for CHelpExampleDocument:

List of all members.

Detailed Description

CHelpExampleDocument An instance of class CHelpExampleDocument is the Document part of the AVKON application framework for the HelpExample example application

Definition at line 35 of file helpexampledocument.h.


Public Member Functions

virtual  ~CHelpExampleDocument ()
CEikAppUi *  CreateAppUiL ()

Static Public Member Functions

static CHelpExampleDocument *  NewL (CEikApplication &aApp)
static CHelpExampleDocument *  NewLC (CEikApplication &aApp)

Private Member Functions

void  ConstructL ()
  CHelpExampleDocument (CEikApplication &aApp)


Constructor & Destructor Documentation

CHelpExampleDocument::~CHelpExampleDocument (   )  [virtual]
 

~CHelpExampleDocument() Destroy the object

Definition at line 73 of file helpexampledocument.cpp.

00074     {
00075     // No implementation required
00076     }

CHelpExampleDocument::CHelpExampleDocument (  CEikApplication &  aApp  )  [private]
 

CHelpExampleDocument() Perform the first phase of two phase construction

Parameters:
aApp  Application creating this document

Definition at line 62 of file helpexampledocument.cpp.

Referenced by NewLC().

00062                                                                  :
00063     CAknDocument( aApp ) 
00064     {
00065     // No implementation required
00066     }


Member Function Documentation

CHelpExampleDocument * CHelpExampleDocument::NewL (  CEikApplication &  aApp  )  [static]
 

NewL() Construct a CHelpExampleDocument for the AVKON application aApp using two phase construction, and return a pointer to the created object

Parameters:
aApp  Application creating this document
Returns:
A pointer to the created instance of CHelpExampleDocument

Definition at line 27 of file helpexampledocument.cpp.

References NewLC().

Referenced by CHelpExampleApplication::CreateDocumentL().

00028     {
00029     CHelpExampleDocument* self = NewLC( aApp );
00030     CleanupStack::Pop( self );
00031     return self;
00032     }

CHelpExampleDocument * CHelpExampleDocument::NewLC (  CEikApplication &  aApp  )  [static]
 

NewLC() Construct a CHelpExampleDocument for the AVKON application aApp using two phase construction, and return a pointer to the created object

Parameters:
aApp  Application creating this document
Returns:
A pointer to the created instance of CHelpExampleDocument

Definition at line 39 of file helpexampledocument.cpp.

References CHelpExampleDocument().

Referenced by NewL().

00040     {
00041     CHelpExampleDocument* self = new ( ELeave ) CHelpExampleDocument( aApp );
00042     CleanupStack::PushL( self );
00043     self->ConstructL();
00044     return self;
00045     }

CEikAppUi * CHelpExampleDocument::CreateAppUiL (   ) 
 

CreateAppUiL() Create a CHelpExampleAppUi object and return a pointer to it

Returns:
A pointer to the created instance of the AppUi created

Definition at line 84 of file helpexampledocument.cpp.

00085     {
00086     return ( static_cast<CEikAppUi*> ( new ( ELeave ) CHelpExampleAppUi ) );
00087     }

void CHelpExampleDocument::ConstructL (   )  [private]
 

ConstructL() Perform the second phase construction of a CHelpExampleDocument object

Definition at line 52 of file helpexampledocument.cpp.

00053     {
00054     // No implementation required
00055     }


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

© Nokia 2009

Back to top