S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CLbsReferenceDocument Class Reference

#include <LBSReferenceDocument.h>

List of all members.

Public Member Functions

virtual ~CLbsReferenceDocument ()

Static Public Member Functions

static CLbsReferenceDocument * NewL (CEikApplication &aApp)

Private Member Functions

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


Detailed Description

This class creates the user interface of the application

Definition at line 30 of file LBSReferenceDocument.h.


Constructor & Destructor Documentation

CLbsReferenceDocument::~CLbsReferenceDocument (   )  [virtual]
 

Destructor.

Definition at line 55 of file LBSReferenceDocument.cpp.

00056     {
00057     // No implementation required
00058     }

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

Symbian OS default constructor.

Definition at line 23 of file LBSReferenceDocument.cpp.

00024 : CAknDocument(aApp)
00025     {
00026     // No implementation required
00027     }


Member Function Documentation

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

Two-phased constructor.

Definition at line 36 of file LBSReferenceDocument.cpp.

References CLbsReferenceDocument().

00037     {
00038     //Create the object
00039     CLbsReferenceDocument* self = new (ELeave) CLbsReferenceDocument( aApp );
00040 
00041     //Push the object to the cleanup stack
00042     CleanupStack::PushL( self );
00043 
00044     //Construct the object
00045     self->ConstructL();
00046     
00047     //Pop the object from the cleanup stack
00048     CleanupStack::Pop( self );
00049  
00050     //Return pointer to the created object
00051     return self;
00052     }

void CLbsReferenceDocument::ConstructL (   )  [private]
 

Symbian OS default constructor.

Definition at line 30 of file LBSReferenceDocument.cpp.

00031     {
00032     // No implementation required
00033     }

CEikAppUi * CLbsReferenceDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, create CLBSReferenceAppUi "App UI" object.

Definition at line 65 of file LBSReferenceDocument.cpp.

00066     {
00067     // Create the application user interface, and return a pointer to it
00068     return new (ELeave) CLbsReferenceAppUi;
00069     }


© Nokia 2006

Back to top