S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CLmUiRefAppDocument Class Reference

#include <LmUiRefAppDocument.h>

List of all members.

Public Member Functions

virtual ~CLmUiRefAppDocument ()
CPosLandmarkDatabase & LmDb () const

Static Public Member Functions

static CLmUiRefAppDocument * NewL (CEikApplication &aApp)

Private Member Functions

 CLmUiRefAppDocument (CEikApplication &aApp)
void ConstructL ()
CEikAppUi * CreateAppUiL ()

Private Attributes

CPosLandmarkDatabase * iDb
 Own:.


Detailed Description

CLmUiRefAppDocument application class.

Definition at line 36 of file LmUiRefAppDocument.h.


Constructor & Destructor Documentation

CLmUiRefAppDocument::~CLmUiRefAppDocument (   )  [virtual]
 

Destructor.

Definition at line 41 of file LmUiRefAppDocument.cpp.

References iDb.

00042     {
00043     delete iDb;
00044     }

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

EPOC default constructor.

Definition at line 32 of file LmUiRefAppDocument.cpp.

00033 : CAknDocument(aApp)    
00034     {
00035     }


Member Function Documentation

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

Two-phased constructor.

Definition at line 66 of file LmUiRefAppDocument.cpp.

References CLmUiRefAppDocument().

00068     {
00069     CLmUiRefAppDocument* self = new (ELeave) CLmUiRefAppDocument( aApp );
00070     CleanupStack::PushL( self );
00071     self->ConstructL();
00072     CleanupStack::Pop();
00073 
00074     return self;
00075     }

CPosLandmarkDatabase & CLmUiRefAppDocument::LmDb (   )  const
 

Returns a reference to landmarks database.

Returns:
database reference, not initialized necessarily

Definition at line 91 of file LmUiRefAppDocument.cpp.

References iDb.

00092     {
00093     return *iDb;
00094     }

CEikAppUi * CLmUiRefAppDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, create LmUiRefAppUi "App UI" object.

Definition at line 82 of file LmUiRefAppDocument.cpp.

00083     {
00084     return new (ELeave) CLmUiRefAppUi;
00085     }


© Nokia 2006

Back to top