S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CShadowsDocument Class Reference

#include <ShadowsDocument.h>

List of all members.

Public Member Functions

virtual ~CShadowsDocument ()

Static Public Member Functions

static CShadowsDocument * NewL (CEikApplication &aApp)

Private Member Functions

 CShadowsDocument (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 33 of file ShadowsDocument.h.


Constructor & Destructor Documentation

CShadowsDocument::~CShadowsDocument (   )  [virtual]
 

Destructor. Does nothing.

Definition at line 59 of file ShadowsDocument.cpp.

00060     {
00061     }

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

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

Definition at line 28 of file ShadowsDocument.cpp.

00029 : CAknDocument(aApp)    
00030     {
00031     }


Member Function Documentation

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

Factory method for creating a new CShadowsDocument object.

Definition at line 47 of file ShadowsDocument.cpp.

References CShadowsDocument().

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

void CShadowsDocument::ConstructL (   )  [private]
 

Second phase constructor. Does nothing.

Definition at line 38 of file ShadowsDocument.cpp.

00039     {
00040     }

CEikAppUi * CShadowsDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, creates and returns CShadowsAppUi application UI object.

Definition at line 68 of file ShadowsDocument.cpp.

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


© Nokia 2006

Back to top