Nokia N97 SDK
Example Applications Guide

CServerDll Class Reference

#include <serverdll.h>

Inheritance diagram for CServerDll:

List of all members.

Detailed Description

CServerDll. An instance of CServerDll is a 'factory' object which creates a new instance of CAnim

Definition at line 29 of file serverdll.h.


Public Member Functions

  CServerDll ()
IMPORT_C CAnim *  CreateInstanceL (TInt aType)


Constructor & Destructor Documentation

CServerDll::CServerDll (   ) 
 

CServerDll. Construct an Animation Server dll

Definition at line 27 of file serverdll.cpp.

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


Member Function Documentation

CAnim * CServerDll::CreateInstanceL (  TInt  aType  ) 
 

CreateInstanceL. Create an instance of the Animation Server image aType.

Parameters:
aType  KAnimationSquare implies "construct a bouncing square"

Definition at line 38 of file serverdll.cpp.

00039     {
00040     // The aType variable can be used to set what type of animation object
00041     // should be created but this example only has 1 type so it is ignored.
00042     return ( new ( ELeave ) CImage );
00043     }


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

© Nokia 2009

Back to top