Nokia N97 SDK
Example Applications Guide

CShadowsDocument Class Reference

#include <ShadowsDocument.h>

Inheritance diagram for CShadowsDocument:

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 30 of file ShadowsDocument.h.


Public Member Functions

virtual  ~CShadowsDocument ()

Static Public Member Functions

static CShadowsDocument *  NewL (CEikApplication &aApp)

Private Member Functions

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


Constructor & Destructor Documentation

CShadowsDocument::~CShadowsDocument (   )  [virtual]
 

Destructor. Does nothing.

Definition at line 56 of file ShadowsDocument.cpp.

00057     {
00058     }

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

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

Definition at line 25 of file ShadowsDocument.cpp.

Referenced by NewL().

00026 : CAknDocument(aApp)
00027     {
00028     }


Member Function Documentation

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

Factory method for creating a new CShadowsDocument object.

Definition at line 44 of file ShadowsDocument.cpp.

References CShadowsDocument().

Referenced by CShadowsApp::CreateDocumentL().

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

void CShadowsDocument::ConstructL (   )  [private]
 

Second phase constructor. Does nothing.

Definition at line 35 of file ShadowsDocument.cpp.

00036     {
00037     }

CEikAppUi * CShadowsDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, creates and returns CShadowsAppUi application UI object.

Definition at line 65 of file ShadowsDocument.cpp.

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


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

© Nokia 2009

Back to top