graphics/wserv/inc/T_DataWsSpriteBase.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_WSSPRITEBASE_H__)
       
    20 #define __T_GRAPHICS_WSERV_WSSPRITEBASE_H__
       
    21 
       
    22 // User Includes
       
    23 #include "DataWrapperBase.h"
       
    24 #include "T_DataWsClientClass.h"
       
    25 /**
       
    26  * Test Active Notification class
       
    27  *
       
    28  */
       
    29 class CT_DataWsSpriteBase : public CDataWrapperBase, public CT_DataWsClientClass
       
    30 	{
       
    31 public:
       
    32 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    33 
       
    34 protected:
       
    35 	/**
       
    36 	* Protected constructor. First phase construction
       
    37 	*/
       
    38 	CT_DataWsSpriteBase();
       
    39 
       
    40 	virtual MWsClientClass*		GetClientClass() const;
       
    41 	virtual RWsSpriteBase*		GetWsSpriteBase() const=0;
       
    42 private:
       
    43 	/**
       
    44 	* Helper methods
       
    45 	*/
       
    46 	void	DoCmdActivate();
       
    47 	void	DoCmdAppendMemberL(const TDesC& aSection);
       
    48 	void    DoCmdUpdateMemberL(const TDesC& aSection);
       
    49 	void    DoCmdClose();
       
    50 
       
    51     
       
    52 	};
       
    53 
       
    54 #endif /* __T_GRAPHICS_WSERV_WSSPRITEBASE_H__ */