S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CSimpleCubePbufferDocument Class Reference

#include <SimpleCubePbufferDocument.h>

List of all members.

Public Member Functions

virtual ~CSimpleCubePbufferDocument ()

Static Public Member Functions

static CSimpleCubePbufferDocument * NewL (CEikApplication &aApp)

Private Member Functions

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


Detailed Description

CSimpleCubePbufferDocument 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 SimpleCubePbufferDocument.h.


Constructor & Destructor Documentation

CSimpleCubePbufferDocument::~CSimpleCubePbufferDocument (   )  [virtual]
 

Destructor. Does nothing.

Definition at line 35 of file SimpleCubePbufferDocument.cpp.

00036     {
00037     }

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

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

Definition at line 29 of file SimpleCubePbufferDocument.cpp.

00030 : CAknDocument(aApp)    
00031     {
00032     }


Member Function Documentation

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

Factory method for creating a new CSimpleCubePbufferDocument object.

Definition at line 54 of file SimpleCubePbufferDocument.cpp.

References CSimpleCubePbufferDocument().

00056     {
00057     CSimpleCubePbufferDocument* self = new (ELeave) CSimpleCubePbufferDocument( aApp );
00058     CleanupStack::PushL( self );
00059     self->ConstructL();
00060     CleanupStack::Pop();
00061 
00062     return self;
00063     }

void CSimpleCubePbufferDocument::ConstructL (   )  [private]
 

Second phase constructor. Does nothing.

Definition at line 45 of file SimpleCubePbufferDocument.cpp.

00046     {
00047     }

CEikAppUi * CSimpleCubePbufferDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, creates and returns CSimpleCubePbufferAppUi application UI object.

Definition at line 70 of file SimpleCubePbufferDocument.cpp.

00071     {
00072     return new (ELeave) CSimpleCubePbufferAppUi;
00073     }


© Nokia 2006

Back to top