Nokia N97 SDK
Example Applications Guide

CAnimationDocument Class Reference

#include <animationdocument.h>

Inheritance diagram for CAnimationDocument:

List of all members.

Detailed Description

CAnimationDocument. An instance of class CAnimationDocument is the Document part of the AVKON application framework for the Animation example application.

Definition at line 32 of file animationdocument.h.


Public Member Functions

virtual  ~CAnimationDocument ()
CEikAppUi *  CreateAppUiL ()

Static Public Member Functions

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

Private Member Functions

  CAnimationDocument (CEikApplication &aApp)
void  ConstructL ()


Constructor & Destructor Documentation

CAnimationDocument::~CAnimationDocument (   )  [virtual]
 

~CAnimationDocument Virtual Destructor.

Definition at line 74 of file animationdocument.cpp.

00075     {
00076     // No implementation required
00077     }

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

CAnimationDocument. C++ default constructor.

Parameters:
aApp  Application creating this document.

Definition at line 27 of file animationdocument.cpp.

Referenced by NewLC().

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


Member Function Documentation

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

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

Definition at line 39 of file animationdocument.cpp.

References NewLC().

Referenced by CAnimationApplication::CreateDocumentL().

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

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

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

Definition at line 51 of file animationdocument.cpp.

References CAnimationDocument().

Referenced by NewL().

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

CEikAppUi * CAnimationDocument::CreateAppUiL (   ) 
 

CreateAppUiL From CEikDocument, CreateAppUiL. Create a CAnimationAppUi 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 84 of file animationdocument.cpp.

00085     {
00086     // Create the application user interface, and return a pointer to it
00087     CEikAppUi* appUi = new ( ELeave ) CAnimationAppUi( CCoeEnv::Static()->
00088                                                                 WsSession() );
00089     return appUi;
00090     }

void CAnimationDocument::ConstructL (   )  [private]
 

ConstructL 2nd phase constructor.

Definition at line 64 of file animationdocument.cpp.

00065     {
00066     // No implementation required
00067     }


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

© Nokia 2009

Back to top