Nokia N97 SDK
Example Applications Guide

CRainDocument Class Reference

#include <RainDocument.h>

Inheritance diagram for CRainDocument:

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


Public Member Functions

virtual  ~CRainDocument ()
  CRainDocument (CEikApplication &aApp)

Static Public Member Functions

static CRainDocument *  NewL (CEikApplication &aApp)

Protected Member Functions

void  ConstructL ()

Private Member Functions

CEikAppUi *  CreateAppUiL ()


Constructor & Destructor Documentation

CRainDocument::~CRainDocument (   )  [virtual]
 

Destructor. Does nothing.

Definition at line 34 of file RainDocument.cpp.

00035     {
00036     }

CRainDocument::CRainDocument (  CEikApplication &  aApp  ) 
 

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

Definition at line 24 of file RainDocument.cpp.

Referenced by NewL().

00025 : CAknDocument( aApp )
00026     {
00027     }


Member Function Documentation

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

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

Definition at line 52 of file RainDocument.cpp.

References CRainDocument().

Referenced by CRainApp::CreateDocumentL().

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

void CRainDocument::ConstructL (   )  [protected]
 

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

Definition at line 43 of file RainDocument.cpp.

00044     {
00045     }

CEikAppUi * CRainDocument::CreateAppUiL (   )  [private]
 

From CEikDocument, creates and returns CRainAppUi application UI object.

Definition at line 67 of file RainDocument.cpp.

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


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

© Nokia 2009

Back to top