First public contribution.
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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
17 #ifndef GLOBALEFFECTTEST_H
18 #define GLOBALEFFECTTEST_H
20 #include <testframework.h>
22 #include <mmf/common/mmfglblaudioeffect.h>
24 class CTestGlobalEffect; // forward
26 class RGlobalEffectPrimitiveTest : public RTestStep
29 static RGlobalEffectPrimitiveTest* NewL(TBool aAllocTest);
32 TVerdict DoTestStepL();
34 RGlobalEffectPrimitiveTest(TBool aAllocTest);
38 class RGlobalEffectStdTest : public RTestStep
41 static RGlobalEffectStdTest* NewL(TBool aAllocTest);
44 TVerdict DoTestStepL();
46 RGlobalEffectStdTest(TBool aAllocTest);
50 class RGlobalEffectMainTest : public RTestStep
53 static RGlobalEffectMainTest* NewL(TBool aAllocTest);
56 TVerdict DoTestStepL();
58 RGlobalEffectMainTest(TBool aAllocTest);
62 class RGlobalEffectCallbackTest : public RTestStep,
63 public MMmfGlobalAudioEffectObserver
66 static RGlobalEffectCallbackTest* NewL(TBool aAllocTest);
69 TVerdict DoTestStepL();
71 // from MMmfGlobalAudioEffectObserver
72 void GAEEventNotificationL(CMmfGlobalAudioEffect* aEffect, TUid aEventUid, const TDesC8& aParam);
75 RGlobalEffectCallbackTest(TBool aAllocTest);
77 CTestGlobalEffect* iEffect; // not owned
82 #endif // GLOBALEFFECTTEST_H