mmlibs/mmfw/tsrc/mmfunittest/GEF/src/TestEffect.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     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 #ifndef TESTEFFECT_H
       
    18 #define TESTEFFECT_H
       
    19 
       
    20 #include <mmf/common/mmfglblaudioeffect.h>
       
    21 
       
    22 class CTestGlobalEffect : public CMmfGlobalAudioEffect
       
    23 	{
       
    24 public:
       
    25 	/**
       
    26 	Factory function
       
    27 	@param Observer to use - can be NULL
       
    28 	@return Freshly created object
       
    29 	*/
       
    30 	static CTestGlobalEffect* NewL(MMmfGlobalAudioEffectObserver* aObserver);
       
    31 	
       
    32 	/**
       
    33 	Struct to form basis of package buffer to ExtractValuesL() and SetByValuesL()
       
    34 	*/
       
    35 	class TValues
       
    36 		{
       
    37 	public:
       
    38 		TInt  iValue1;
       
    39 		TInt  iValue2;
       
    40 		};
       
    41 		
       
    42 	void SetActive(TBool aValue);
       
    43 	
       
    44 	void GenCallbackL();
       
    45 
       
    46 private:
       
    47 	CTestGlobalEffect();
       
    48 	void ConstructL(MMmfGlobalAudioEffectObserver* aObserver);
       
    49 	};
       
    50 
       
    51 
       
    52 #endif // TESTEFFECT_H