Nokia N97 SDK
Example Applications Guide

CLmUiRefAppDocument Class Reference

#include <LmUiRefAppDocument.h>

Inheritance diagram for CLmUiRefAppDocument:

List of all members.

Detailed Description

CLmUiRefAppDocument application class.

Definition at line 36 of file LmUiRefAppDocument.h.


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:.


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.

Referenced by NewL().

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().

Referenced by CLmUiRefApp::CreateDocumentL().

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.

Referenced by CLmUiRefAppView::IsLmDbEmptyL(), and CLmUiRefAppView::NewLmCmdL().

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     }


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

© Nokia 2009

Back to top