Nokia N97 SDK
Example Applications Guide

CLandmarksDocument Class Reference

#include <LandmarksDocument.h>

Inheritance diagram for CLandmarksDocument:

List of all members.

Detailed Description

An instance of CLandmarksDocument is the application part of the Avkon application framework for the Landmarks reference application

Definition at line 32 of file LandmarksDocument.h.


Public Member Functions

  ~CLandmarksDocument ()
CEikAppUi *  CreateAppUiL ()

Static Public Member Functions

static CLandmarksDocument *  NewL (CEikApplication &aApp)

Private Member Functions

  CLandmarksDocument (CEikApplication &aApp)
void  ConstructL ()


Constructor & Destructor Documentation

CLandmarksDocument::~CLandmarksDocument (   ) 
 

Destructor.

Definition at line 58 of file LandmarksDocument.cpp.

00059     {
00060     // No implementation required
00061     }

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

C++ constructor.

Definition at line 28 of file LandmarksDocument.cpp.

Referenced by NewL().

00028                                                             : CAknDocument(aApp) 
00029     {
00030     // No implementation required
00031     }   


Member Function Documentation

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

Two-phased constructor.

Parameters:
aApp  an eikon application instance

Definition at line 48 of file LandmarksDocument.cpp.

References CLandmarksDocument().

Referenced by CLandmarksApplication::CreateDocumentL().

00049     {
00050     CLandmarksDocument* self = new (ELeave) CLandmarksDocument(aApp);
00051     CleanupStack::PushL(self);
00052     self->ConstructL();
00053     CleanupStack::Pop(self);
00054     return self;
00055     }

CEikAppUi * CLandmarksDocument::CreateAppUiL (   ) 
 

CreateAppUiL creates a CLandmarksAppUi object and return a pointer to it.

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

Definition at line 69 of file LandmarksDocument.cpp.

00070     {
00071     // Create the application user interface, and return a pointer to it,
00072     // the framework takes ownership of this object
00073     CEikAppUi* appUi = new (ELeave) CLandmarksAppUi;
00074     return appUi;
00075     }

void CLandmarksDocument::ConstructL (   )  [private]
 

By default Symbian 2nd phase constructor is private.

Definition at line 38 of file LandmarksDocument.cpp.

00039     {
00040     // No implementation required
00041     }    


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

© Nokia 2009

Back to top