Nokia N97 SDK
Example Applications Guide

CFloatingDuckDocument Class Reference

#include <FloatingDuckDocument.h>

Inheritance diagram for CFloatingDuckDocument:

List of all members.

Detailed Description

Document class that is just used as the container for the application (as required by the Symbian UI application architecture).

Definition at line 28 of file FloatingDuckDocument.h.


Public Member Functions

virtual  ~CFloatingDuckDocument ()
  CFloatingDuckDocument (CEikApplication &aApp)

Static Public Member Functions

static CFloatingDuckDocument *  NewL (CEikApplication &aApp)

Protected Member Functions

void  ConstructL ()

Private Member Functions

CEikAppUi *  CreateAppUiL ()


Constructor & Destructor Documentation

CFloatingDuckDocument::~CFloatingDuckDocument (   )  [virtual]
 

Destructor. Does nothing.

Definition at line 34 of file FloatingDuckDocument.cpp.

00035     {
00036     }

CFloatingDuckDocument::CFloatingDuckDocument (  CEikApplication &  aApp  ) 
 

C++ constructor. Just passes the given application reference to the baseclass.

Definition at line 24 of file FloatingDuckDocument.cpp.

Referenced by NewL().

00025 : CAknDocument( aApp )
00026     {
00027     }


Member Function Documentation

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

Factory method for creating a new CFloatingDuckDocument object. Calls the hidden constructors.

Definition at line 52 of file FloatingDuckDocument.cpp.

References CFloatingDuckDocument().

Referenced by CFloatingDuckApp::CreateDocumentL().

00053     {
00054     CFloatingDuckDocument* self = new (ELeave) CFloatingDuckDocument( aApp );
00055     CleanupStack::PushL( self );
00056     self->ConstructL();
00057     CleanupStack::Pop();
00058 
00059     return self;
00060     }

void CFloatingDuckDocument::ConstructL (   )  [protected]
 

Second phase constructor that can call methods that may leave. Does nothing.

Definition at line 43 of file FloatingDuckDocument.cpp.

00044     {
00045     }

CEikAppUi * CFloatingDuckDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, creates and returns CFloatingDuckAppUi application UI object.

Definition at line 67 of file FloatingDuckDocument.cpp.

00068     {
00069     return new (ELeave) CFloatingDuckAppUi;
00070     }


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

© Nokia 2009

Back to top