Nokia N97 SDK
Example Applications Guide

COpenCHelloGlibEventExDocument Class Reference

#include <openchelloglibeventexdoc.h>

Inheritance diagram for COpenCHelloGlibEventExDocument:

List of all members.

Detailed Description

COpenCHelloGlibEventExDocument application class. An instance of class COpenCHelloGlibEventExDocument is the Document part of the AVKON application framework for the OpenCHelloGlibEventEx example application.

Definition at line 35 of file openchelloglibeventexdoc.h.


Public Member Functions

virtual  ~COpenCHelloGlibEventExDocument ()
CEikAppUi *  CreateAppUiL ()

Static Public Member Functions

static COpenCHelloGlibEventExDocument *  NewL (CEikApplication &aApp)
static COpenCHelloGlibEventExDocument *  NewLC (CEikApplication &aApp)

Private Member Functions

void  ConstructL ()
  COpenCHelloGlibEventExDocument (CEikApplication &aApp)


Constructor & Destructor Documentation

COpenCHelloGlibEventExDocument::~COpenCHelloGlibEventExDocument (   )  [virtual]
 

~COpenCHelloGlibEventExDocument Virtual Destructor.

Definition at line 77 of file openchelloglibeventexdoc.cpp.

00078     {
00079     // No implementation required
00080     }

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

CHelloWorldBasicDocument. C++ default constructor.

Parameters:
aApp  Application creating this document.

Definition at line 66 of file openchelloglibeventexdoc.cpp.

Referenced by NewLC().

00067     : CAknDocument( aApp )
00068     {
00069     // No implementation required
00070     }


Member Function Documentation

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

NewL. Two-phased constructor. Construct a COpenCHelloGlibEventExDocument for the AVKON application aApp using two phase construction, and return a pointer to the created object.

Parameters:
aApp  Application creating this document.
Returns:
A pointer to the created instance of COpenCHelloGlibEventExDocument.

Definition at line 27 of file openchelloglibeventexdoc.cpp.

References NewLC().

Referenced by COpenCHelloGlibEventExApplication::CreateDocumentL().

00029     {
00030     COpenCHelloGlibEventExDocument* self = NewLC( aApp );
00031     CleanupStack::Pop( self );
00032     return self;
00033     }

COpenCHelloGlibEventExDocument * COpenCHelloGlibEventExDocument::NewLC (  CEikApplication &  aApp  )  [static]
 

NewLC. Two-phased constructor. Construct a COpenCHelloGlibEventExDocument for the AVKON application aApp using two phase construction, and return a pointer to the created object.

Parameters:
aApp  Application creating this document.
Returns:
A pointer to the created instance of COpenCHelloGlibEventExDocument.

Definition at line 40 of file openchelloglibeventexdoc.cpp.

References COpenCHelloGlibEventExDocument().

Referenced by NewL().

00042     {
00043     COpenCHelloGlibEventExDocument* self =
00044         new ( ELeave ) COpenCHelloGlibEventExDocument( aApp );
00045 
00046     CleanupStack::PushL( self );
00047     self->ConstructL();
00048     return self;
00049     }

CEikAppUi * COpenCHelloGlibEventExDocument::CreateAppUiL (   ) 
 

CreateAppUiL From CEikDocument, CreateAppUiL. Create a COpenCHelloGlibEventExUi object and return a pointer to it. The object returned is owned by the Uikon framework.

Returns:
Pointer to created instance of AppUi.

Definition at line 87 of file openchelloglibeventexdoc.cpp.

00088     {
00089     // Create the application user interface, and return a pointer to it;
00090     // the framework takes ownership of this object
00091     return ( static_cast <CEikAppUi*> ( new ( ELeave )
00092                                         COpenCHelloGlibEventExUi ) );
00093     }

void COpenCHelloGlibEventExDocument::ConstructL (   )  [private]
 

ConstructL 2nd phase constructor.

Definition at line 56 of file openchelloglibeventexdoc.cpp.

00057     {
00058     // No implementation required
00059     }


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

© Nokia 2009

Back to top