S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CSimpleLightDocument Class Reference

#include <SimpleLightDocument.h>

List of all members.

Public Member Functions

virtual ~CSimpleLightDocument ()

Static Public Member Functions

static CSimpleLightDocument * NewL (CEikApplication &aApp)

Private Member Functions

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


Detailed Description

Document class that is just used as the container for the application (as required by the Symbian UI application architecture).

Definition at line 31 of file SimpleLightDocument.h.


Constructor & Destructor Documentation

CSimpleLightDocument::~CSimpleLightDocument (   )  [virtual]
 

Destructor. Does nothing.

Definition at line 59 of file SimpleLightDocument.cpp.

00060     {
00061     }

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

C++ constructor. Just passes the given application reference to the baseclass.

Definition at line 28 of file SimpleLightDocument.cpp.

00029 : CAknDocument(aApp)    
00030     {
00031     }


Member Function Documentation

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

Factory method for creating a new CSimpleLightDocument object.

Definition at line 47 of file SimpleLightDocument.cpp.

References CSimpleLightDocument().

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

void CSimpleLightDocument::ConstructL (   )  [private]
 

Second phase constructor. Does nothing.

Definition at line 38 of file SimpleLightDocument.cpp.

00039     {
00040     }

CEikAppUi * CSimpleLightDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, creates and returns CSimpleLightAppUi application UI object.

Definition at line 68 of file SimpleLightDocument.cpp.

00069     {
00070     return new (ELeave) CSimpleLightAppUi;
00071     }


© Nokia 2006

Back to top