Nokia N97 SDK
Example Applications Guide

serverdll.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : serverdll.h
00004 *  Part of     : Animation example
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2004 - 2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #ifndef __SERVERDLL_H__
00017 #define __SERVERDLL_H__
00018 
00019 // INCLUDES
00020 #include <w32adll.h>
00021 
00022 // CLASS DECLARATION
00023 
00024 /**
00025 * CServerDll.
00026 * An instance of CServerDll is a 'factory' object which creates a new
00027 * instance of CAnim
00028 */
00029 class CServerDll : public CAnimDll
00030     {
00031     public: // Constructor
00032 
00033         /**
00034         * CServerDll.
00035         * Construct an Animation Server dll
00036         */
00037         CServerDll();
00038 
00039         // Public destructor not created as this class does not own any data
00040 
00041     public: // From CAnimDll
00042 
00043         /**
00044         * CreateInstanceL.
00045         * Create an instance of the Animation Server image aType.
00046         * @param aType KAnimationSquare implies "construct a bouncing square"
00047         */
00048         IMPORT_C CAnim* CreateInstanceL( TInt aType );
00049 
00050     };
00051 
00052 #endif // __SERVERDLL_H__
00053 
00054 // End of File

© Nokia 2009

Back to top