common/tools/ats/smoketest/graphics/wserv/inc/T_DataSoundPlugIn.h
changeset 833 6ffc235847d0
child 872 17498133d9ad
equal deleted inserted replaced
832:9b2bf01d4d36 833:6ffc235847d0
       
     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 @test
       
    20 @internalComponent
       
    21 
       
    22 This contains CT_DataSoundPlugIn
       
    23 */
       
    24 
       
    25 #if (!defined __T_WSSOUNDPLUGIN_DATA_H__)
       
    26 #define __T_WSSOUNDPLUGIN_DATA_H__
       
    27 
       
    28 //	EPOC includes
       
    29 #include <w32std.h>
       
    30 #include <datawrapper.h>
       
    31 //	User Includes
       
    32 #include "DataWrapperBase.h"
       
    33 #include "T_DataWsClientClass.h"
       
    34 
       
    35 class CT_DataSoundPlugIn : public CDataWrapperBase , public CT_DataWsClientClass
       
    36 	{
       
    37 public:
       
    38 	static CT_DataSoundPlugIn*	NewL();
       
    39 
       
    40 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    41 
       
    42 	
       
    43 	~CT_DataSoundPlugIn();
       
    44 
       
    45 	virtual TAny*	GetObject();
       
    46 
       
    47 protected:
       
    48 	CT_DataSoundPlugIn();
       
    49 	void	ConstructL();
       
    50 
       
    51 	virtual MWsClientClass*		GetClientClass() const;
       
    52 	
       
    53 private:
       
    54 	void Cleanup();
       
    55 	
       
    56 	// Commands
       
    57 	void DoCmdNewL(const TDesC& aSection);
       
    58 	void DoCmdConstruct(const TDesC& aSection);
       
    59 	void DoCmdClose();
       
    60 	void DoCmdDestroy();
       
    61 	void DoCmdIsLoaded(const TDesC& aSection);
       
    62 	void DoCmdUnload();
       
    63 	void DoCmdLoad(const TDesC& aSection);
       
    64 	void DoCmdSetKeyClick(const TDesC& aSection);
       
    65 	void DoCmdSetPenClick(const TDesC& aSection);
       
    66 	void DoCmdKeyClickEnabled(const TDesC& aSection);
       
    67 	void DoCmdPenClickEnabled(const TDesC& aSection);
       
    68 	void DoCmdCommandReply(const TDesC& aSection);
       
    69 private:
       
    70 	RSoundPlugIn*	iSoundPlugIn;
       
    71 	};
       
    72 
       
    73 #endif /* __T_WSSOUNDPLUGIN_DATA_H__ */