S60 3rd Edition SDK FP1 for Symbian OS
Example Applications Guide

CSimpleCubeDocument Class Reference

#include <SimpleCubeDocument.h>

Inherits CAknDocument.

Inheritance diagram for CSimpleCubeDocument:

Inheritance graph
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 SimpleCubeDocument.h.

Public Member Functions

virtual ~CSimpleCubeDocument ()

Static Public Member Functions

static CSimpleCubeDocumentNewL (CEikApplication &aApp)

Private Member Functions

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


Constructor & Destructor Documentation

CSimpleCubeDocument::~CSimpleCubeDocument  )  [virtual]
 

Destructor. Does nothing.

Definition at line 39 of file SimpleCubeDocument.cpp.

00040     {
00041     }

CSimpleCubeDocument::CSimpleCubeDocument CEikApplication &  aApp  )  [private]
 

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

Definition at line 27 of file SimpleCubeDocument.cpp.

Referenced by NewL().

00028 : CAknDocument(aApp)
00029     {
00030     }


Member Function Documentation

CSimpleCubeDocument * CSimpleCubeDocument::NewL CEikApplication &  aApp  )  [static]
 

Factory method for creating a new CSimpleCubeDocument object.

Definition at line 60 of file SimpleCubeDocument.cpp.

References CSimpleCubeDocument().

Referenced by CSimpleCubeApp::CreateDocumentL().

00062     {
00063     CSimpleCubeDocument* self = new (ELeave) CSimpleCubeDocument( aApp );
00064     CleanupStack::PushL( self );
00065     self->ConstructL();
00066     CleanupStack::Pop();
00067 
00068     return self;
00069     }

void CSimpleCubeDocument::ConstructL  )  [private]
 

Second phase constructor. Does nothing.

Definition at line 50 of file SimpleCubeDocument.cpp.

00051     {
00052     }

CEikAppUi * CSimpleCubeDocument::CreateAppUiL  )  [private]
 

From CEikDocument, creates and returns CSimpleCubeAppUi application UI object.

Definition at line 77 of file SimpleCubeDocument.cpp.

00078     {
00079     return new (ELeave) CSimpleCubeAppUi;
00080     }


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

© Nokia 2006

Back to top