graphics/wserv/inc/T_DataAnimDll.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Symbian Foundation License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #if (!defined __T_GRAPHICS_WSERV_ANIMDLL_H__)
       
    20 #define __T_GRAPHICS_WSERV_ANIMDLL_H__
       
    21 
       
    22 //	User Includes
       
    23 #include "T_DataWsClientClass.h"
       
    24 
       
    25 class CT_DataAnimDll : public CDataWrapperBase, public CT_DataWsClientClass
       
    26 	{
       
    27 public:
       
    28 	static CT_DataAnimDll*	NewL();
       
    29 
       
    30 	~CT_DataAnimDll();
       
    31 
       
    32 	virtual TAny*	GetObject();
       
    33 	virtual void	SetObjectL(TAny* aAny);
       
    34 
       
    35 	virtual void	DisownObjectL();
       
    36 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    37 
       
    38 protected:
       
    39 	CT_DataAnimDll();
       
    40 	void  ConstructL();
       
    41 	
       
    42 	virtual MWsClientClass*		GetClientClass() const;
       
    43 
       
    44 private:
       
    45 	void	DestroyData();
       
    46 	
       
    47 	void	DoCmdnewL(const TDesC& aSection);
       
    48 	void	DoCmdLoad(const TDesC& aSection);
       
    49 	void	DoCmdClose();
       
    50 	void	DoCmdDestroy();
       
    51 	void	DoCmdDestructor();
       
    52 
       
    53 private:
       
    54 	RAnimDll*	iAnimDll;
       
    55 	};
       
    56 
       
    57 #endif /* __T_GRAPHICS_WSERV_ANIMDLL_H__ */