graphicsapitest/graphicssvs/wserv/inc/T_DataSoundPlugIn.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     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 "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-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 <test/datawrapper.h>
       
    31 //	User Includes
       
    32 #include "DataWrapperBase.h"
       
    33 #include "T_DataWsClientClass.h"
       
    34 
       
    35 
       
    36 class CT_DataSoundPlugIn : public CDataWrapperBase , public CT_DataWsClientClass
       
    37 	{
       
    38 public:
       
    39 	static CT_DataSoundPlugIn*	NewL();
       
    40 
       
    41 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    42 
       
    43 	
       
    44 	~CT_DataSoundPlugIn();
       
    45 
       
    46 	virtual TAny*	GetObject();
       
    47 
       
    48 protected:
       
    49 	CT_DataSoundPlugIn();
       
    50 	void	ConstructL();
       
    51 
       
    52 	virtual MWsClientClass*		GetClientClass() const;
       
    53 
       
    54 private:
       
    55 	void Cleanup();
       
    56 	
       
    57 	// Commands
       
    58 	void DoCmdNewL(const TDesC& aSection);
       
    59 	void DoCmdConstruct(const TDesC& aSection);
       
    60 	void DoCmdClose();
       
    61 	void DoCmdDestroy();
       
    62 	void DoCmdIsLoaded(const TDesC& aSection);
       
    63 	void DoCmdUnload();
       
    64 	void DoCmdLoad(const TDesC& aSection);
       
    65 	void DoCmdSetKeyClick(const TDesC& aSection);
       
    66 	void DoCmdSetPenClick(const TDesC& aSection);
       
    67 	void DoCmdKeyClickEnabled(const TDesC& aSection);
       
    68 	void DoCmdPenClickEnabled(const TDesC& aSection);
       
    69 	void DoCmdCommandReply(const TDesC& aSection);
       
    70 private:
       
    71 	RSoundPlugIn*	iSoundPlugIn;
       
    72 	};
       
    73 
       
    74 #endif /* __T_WSSOUNDPLUGIN_DATA_H__ */