Nokia N97 SDK
Example Applications Guide

CSimpleLightDocument Class Reference

#include <SimpleLightDocument.h>

Inheritance diagram for CSimpleLightDocument:

List of all members.

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 28 of file SimpleLightDocument.h.


Public Member Functions

virtual  ~CSimpleLightDocument ()

Static Public Member Functions

static CSimpleLightDocument *  NewL (CEikApplication &aApp)

Private Member Functions

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


Constructor & Destructor Documentation

CSimpleLightDocument::~CSimpleLightDocument (   )  [virtual]
 

Destructor. Does nothing.

Definition at line 56 of file SimpleLightDocument.cpp.

00057     {
00058     }

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

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

Definition at line 25 of file SimpleLightDocument.cpp.

Referenced by NewL().

00026 : CAknDocument(aApp)
00027     {
00028     }


Member Function Documentation

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

Factory method for creating a new CSimpleLightDocument object.

Definition at line 44 of file SimpleLightDocument.cpp.

References CSimpleLightDocument().

Referenced by CSimpleLightApp::CreateDocumentL().

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

void CSimpleLightDocument::ConstructL (   )  [private]
 

Second phase constructor. Does nothing.

Definition at line 35 of file SimpleLightDocument.cpp.

00036     {
00037     }

CEikAppUi * CSimpleLightDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, creates and returns CSimpleLightAppUi application UI object.

Definition at line 65 of file SimpleLightDocument.cpp.

00066     {
00067     return new (ELeave) CSimpleLightAppUi;
00068     }


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

© Nokia 2009

Back to top