Nokia N97 SDK
Example Applications Guide

COomExampleDocument Class Reference

#include <OomExampleDocument.h>

Inheritance diagram for COomExampleDocument:

List of all members.

Detailed Description

COomExampleDocument application class. An instance of class COomExampleDocument is the Document part of the AVKON application framework for the OomExample example application.

Definition at line 33 of file OomExampleDocument.h.


Public Member Functions

virtual  ~COomExampleDocument ()
CEikAppUi *  CreateAppUiL ()

Static Public Member Functions

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

Private Member Functions

void  ConstructL ()
  COomExampleDocument (CEikApplication &aApp)


Constructor & Destructor Documentation

COomExampleDocument::~COomExampleDocument (   )  [virtual]
 

~COomExampleDocument Virtual Destructor.

Definition at line 50 of file OomExampleDocument.cpp.

00051     {
00052     // No implementation required
00053     }

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

COomExampleDocument. C++ default constructor.

Parameters:
aApp  Application creating this document.

Definition at line 44 of file OomExampleDocument.cpp.

Referenced by NewLC().

00044                                                               :
00045     CAknDocument(aApp)
00046     {
00047     // No implementation required
00048     }


Member Function Documentation

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

NewL. Two-phased constructor. Construct a COomExampleDocument 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 COomExampleDocument.

Definition at line 23 of file OomExampleDocument.cpp.

References NewLC().

Referenced by COomExampleApplication::CreateDocumentL().

00024     {
00025     COomExampleDocument* self = NewLC( aApp );
00026     CleanupStack::Pop( self );
00027     return self;
00028     }

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

NewLC. Two-phased constructor. Construct a COomExampleDocument 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 COomExampleDocument.

Definition at line 30 of file OomExampleDocument.cpp.

References COomExampleDocument().

Referenced by NewL().

00031     {
00032     COomExampleDocument* self = new (ELeave) COomExampleDocument(aApp);
00033 
00034     CleanupStack::PushL(self);
00035     self->ConstructL();
00036     return self;
00037     }

CEikAppUi * COomExampleDocument::CreateAppUiL (   ) 
 

CreateAppUiL From CEikDocument, CreateAppUiL. Create a COomExampleAppUi object and return a pointer to it. The object returned is owned by the Uikon framework.

Returns:
Pointer to created instance of AppUi.

Definition at line 55 of file OomExampleDocument.cpp.

00056     {
00057     // Create the application user interface, and return a pointer to it;
00058     // the framework takes ownership of this object
00059     return new (ELeave) COomExampleAppUi;
00060     }

void COomExampleDocument::ConstructL (   )  [private]
 

ConstructL 2nd phase constructor.

Definition at line 39 of file OomExampleDocument.cpp.

00040     {
00041     // No implementation required
00042     }


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

© Nokia 2009

Back to top