Nokia N97 SDK
Example Applications Guide

CSnowDocument Class Reference

#include <SnowDocument.h>

Inheritance diagram for CSnowDocument:

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 SnowDocument.h.


Public Member Functions

virtual  ~CSnowDocument ()
  CSnowDocument (CEikApplication &aApp)

Static Public Member Functions

static CSnowDocument *  NewL (CEikApplication &aApp)

Protected Member Functions

void  ConstructL ()

Private Member Functions

CEikAppUi *  CreateAppUiL ()


Constructor & Destructor Documentation

CSnowDocument::~CSnowDocument (   )  [virtual]
 

Destructor. Does nothing.

Definition at line 34 of file SnowDocument.cpp.

00035     {
00036     }

CSnowDocument::CSnowDocument (  CEikApplication &  aApp  ) 
 

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

Definition at line 24 of file SnowDocument.cpp.

Referenced by NewL().

00025 : CAknDocument( aApp )
00026     {
00027     }


Member Function Documentation

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

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

Definition at line 52 of file SnowDocument.cpp.

References CSnowDocument().

Referenced by CSnowApp::CreateDocumentL().

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

void CSnowDocument::ConstructL (   )  [protected]
 

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

Definition at line 43 of file SnowDocument.cpp.

00044     {
00045     }

CEikAppUi * CSnowDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, creates and returns CSnowAppUi application UI object.

Definition at line 67 of file SnowDocument.cpp.

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


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

© Nokia 2009

Back to top