Nokia N97 SDK
Example Applications Guide

CListboxDocument Class Reference

#include <ListboxDocument.h>

Inheritance diagram for CListboxDocument:

List of all members.

Detailed Description

CListboxDocument application class. An instance of class CListboxDocument is the Document part of the AVKON application framework for the Listbox example application.

Definition at line 31 of file ListboxDocument.h.


Public Member Functions

virtual  ~CListboxDocument ()
CEikAppUi *  CreateAppUiL ()

Static Public Member Functions

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

Private Member Functions

void  ConstructL ()
  CListboxDocument (CEikApplication &aApp)


Constructor & Destructor Documentation

CListboxDocument::~CListboxDocument (   )  [virtual]
 

Virtual Destructor.

Definition at line 75 of file ListboxDocument.cpp.

00076     {
00077     // No implementation required
00078     }

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

C++ default constructor.

Parameters:
aApp  Application creating this document.

Definition at line 64 of file ListboxDocument.cpp.

Referenced by NewLC().

00065     : CAknDocument( aApp )
00066     {
00067     // No implementation required
00068     }


Member Function Documentation

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

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

Definition at line 27 of file ListboxDocument.cpp.

References NewLC().

Referenced by CListboxApplication::CreateDocumentL().

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

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

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

Definition at line 39 of file ListboxDocument.cpp.

References CListboxDocument().

Referenced by NewL().

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

CEikAppUi * CListboxDocument::CreateAppUiL (   ) 
 

From CEikDocument, CreateAppUiL. Create a CListboxAppUi 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 85 of file ListboxDocument.cpp.

00086     {
00087     // Create the application user interface, and return a pointer to it;
00088     // the framework takes ownership of this object
00089     return ( new ( ELeave ) CListboxAppUi );
00090     }

void CListboxDocument::ConstructL (   )  [private]
 

2nd phase constructor.

Definition at line 54 of file ListboxDocument.cpp.

00055     {
00056     // No implementation required
00057     }


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

© Nokia 2009

Back to top