S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CSimpleCubeDocument Class Reference

#include <SimpleCubeDocument.h>

List of all members.

Public Member Functions

virtual ~CSimpleCubeDocument ()

Static Public Member Functions

static CSimpleCubeDocument * NewL (CEikApplication &aApp)

Private Member Functions

 CSimpleCubeDocument (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 SimpleCubeDocument.h.


Constructor & Destructor Documentation

CSimpleCubeDocument::~CSimpleCubeDocument (   )  [virtual]
 

Destructor. Does nothing.

Definition at line 42 of file SimpleCubeDocument.cpp.

00043     {
00044     }

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

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

Definition at line 30 of file SimpleCubeDocument.cpp.

00031 : CAknDocument(aApp)    
00032     {
00033     }


Member Function Documentation

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

Factory method for creating a new CSimpleCubeDocument object.

Definition at line 63 of file SimpleCubeDocument.cpp.

References CSimpleCubeDocument().

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

void CSimpleCubeDocument::ConstructL (   )  [private]
 

Second phase constructor. Does nothing.

Definition at line 53 of file SimpleCubeDocument.cpp.

00054     {
00055     }

CEikAppUi * CSimpleCubeDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, creates and returns CSimpleCubeAppUi application UI object.

Definition at line 80 of file SimpleCubeDocument.cpp.

00081     {
00082     return new (ELeave) CSimpleCubeAppUi;
00083     }


© Nokia 2006

Back to top