Nokia N97 SDK
Example Applications Guide

CFocusEventDocument Class Reference

#include <focuseventdocument.h>

Inheritance diagram for CFocusEventDocument:

List of all members.

Detailed Description

CFocusEventDocument application class. An instance of class CFocusEventDocument is the Document part of the AVKON application framework for the FocusEventDocument example application.

Definition at line 33 of file focuseventdocument.h.


Public Member Functions

virtual  ~CFocusEventDocument ()
CEikAppUi *  CreateAppUiL ()

Static Public Member Functions

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

Private Member Functions

void  ConstructL ()
  CFocusEventDocument (CEikApplication &aApp)


Constructor & Destructor Documentation

CFocusEventDocument::~CFocusEventDocument (   )  [virtual]
 

~CFocusEventDocument Virtual Destructor.

Definition at line 73 of file focuseventdocument.cpp.

00074     {
00075     // No implementation required
00076     }

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

CFocusEventDocument. C++ default constructor.

Parameters:
aApp  Application creating this document.

Definition at line 27 of file focuseventdocument.cpp.

Referenced by NewLC().

00028     : CAknDocument( aApp ) 
00029     {
00030     // No implementation required
00031     } 


Member Function Documentation

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

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

Definition at line 38 of file focuseventdocument.cpp.

References NewLC().

Referenced by CFocusEventApplication::CreateDocumentL().

00039     {
00040     CFocusEventDocument* self = NewLC( aApp );
00041     CleanupStack::Pop( self );
00042     return self;
00043     }

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

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

Definition at line 50 of file focuseventdocument.cpp.

References CFocusEventDocument().

Referenced by NewL().

00051     {
00052     CFocusEventDocument* self = new ( ELeave ) CFocusEventDocument( aApp );
00053     CleanupStack::PushL( self );
00054     self->ConstructL();
00055     return self;
00056     }

CEikAppUi * CFocusEventDocument::CreateAppUiL (   ) 
 

CreateAppUiL From CEikDocument, CreateAppUiL. Create a CFocusEventAppUi 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 83 of file focuseventdocument.cpp.

00084     {
00085     // Create the application user interface, and return a pointer to it
00086     return ( static_cast<CEikAppUi*>( new ( ELeave ) CFocusEventAppUi ) );
00087     }

void CFocusEventDocument::ConstructL (   )  [private]
 

ConstructL 2nd phase constructor.

Definition at line 63 of file focuseventdocument.cpp.

00064     {
00065     // No implementation required
00066     }    


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

© Nokia 2009

Back to top