Nokia N97 SDK
Example Applications Guide

CChoiceListExDocument Class Reference

#include <ChoiceListExDocument.h>

Inheritance diagram for CChoiceListExDocument:

List of all members.

Detailed Description

CChoiceListExDocument application class. An instance of class CChoiceListExDocument is the Document part of the AVKON application framework for the Choice list example application.

Definition at line 27 of file ChoiceListExDocument.h.


Public Member Functions

virtual  ~CChoiceListExDocument ()
CEikAppUi *  CreateAppUiL ()

Static Public Member Functions

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

Private Member Functions

void  ConstructL ()
  CChoiceListExDocument (CEikApplication &aApp)


Constructor & Destructor Documentation

CChoiceListExDocument::~CChoiceListExDocument (   )  [virtual]
 

~CChoiceListExDocument Virtual Destructor.

Definition at line 67 of file ChoiceListExDocument.cpp.

00068     {
00069         // no implementation required
00070     }

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

CChoiceListExDocument. C++ default constructor.

Parameters:
aApp  Application creating this document.

Definition at line 57 of file ChoiceListExDocument.cpp.

Referenced by NewLC().

00057                                                                     : CAknDocument( aApp ) 
00058     {
00059         // no implementation required
00060     }


Member Function Documentation

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

NewL. Two-phased constructor. Construct a CChoiceListExDocument 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 CChoiceListExDocument.

Definition at line 22 of file ChoiceListExDocument.cpp.

References NewLC().

Referenced by CChoiceListExApp::CreateDocumentL().

00023     {
00024     CChoiceListExDocument* self = NewLC( aApp );
00025     CleanupStack::Pop( self );
00026     return self;
00027     }

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

NewLC. Two-phased constructor. Construct a CChoiceListExDocument 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 CChoiceListExDocument.

Definition at line 34 of file ChoiceListExDocument.cpp.

References CChoiceListExDocument().

Referenced by NewL().

00035     {
00036     CChoiceListExDocument* self = new ( ELeave ) CChoiceListExDocument( aApp );
00037     CleanupStack::PushL( self );
00038     self->ConstructL();
00039     return self;
00040     }

CEikAppUi * CChoiceListExDocument::CreateAppUiL (   ) 
 

CreateAppUiL From CEikDocument, CreateAppUiL. Create a CChoiceListExAppUi 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 77 of file ChoiceListExDocument.cpp.

00078     {
00079     // Create the application user interface, and return a pointer to it,
00080     // the framework takes ownership of this object
00081     CEikAppUi* appUi = new ( ELeave ) CChoiceListExAppUi;
00082     return appUi;
00083     }

void CChoiceListExDocument::ConstructL (   )  [private]
 

ConstructL 2nd phase constructor.

Definition at line 47 of file ChoiceListExDocument.cpp.

00048     {
00049         // no implementation required
00050     }    


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

© Nokia 2009

Back to top