Update contrib.
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef TESTMIDICLIENTSHAREDHEAP_H
17 #define TESTMIDICLIENTSHAREDHEAP_H
19 #include "TSU_MMFMIDICLNT.h"
23 * Loads and initialises multiple midi utilities.
25 * @class CTestMidiClntMultiSharedHeap
29 class CTestMidiClntMultiSharedHeap : public CTestMmfMidiClntStep
32 CTestMidiClntMultiSharedHeap(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TBool aMixHeapStyle );
33 ~CTestMidiClntMultiSharedHeap() {};
34 static CTestMidiClntMultiSharedHeap* NewL(const TDesC& aTestName,const TDesC& aSectName,const TDesC& aKeyName, TBool aMixHeapStyle );
36 TVerdict DoTestStepL();
39 TBuf<KNameBufSize> iSectName; // Section name for retrieving filename
40 TBuf<KNameBufSize> iKeyName; // Key name for retrieving filename
41 TTimeIntervalMicroSeconds iDuration; // Stores duration of Audio file
42 TBool iMixHeapStyle; // Should a mixture of shared and separate heap controllers be created?
47 * Repeatedly creates and deletes multiple midi utilities
49 * @class CTestMidiClntRepeatMultiSharedHeap
53 class CTestMidiClntRepeatMultiSharedHeap : public CTestMmfMidiClntStep
56 CTestMidiClntRepeatMultiSharedHeap(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TBool aMixHeapStyle );
57 ~CTestMidiClntRepeatMultiSharedHeap() {};
58 static CTestMidiClntRepeatMultiSharedHeap* NewL(const TDesC& aTestName,const TDesC& aSectName,const TDesC& aKeyName, TBool aMixHeapStyle );
60 TVerdict DoTestStepL();
63 TBuf<KNameBufSize> iSectName; // Section name for retrieving filename
64 TBuf<KNameBufSize> iKeyName; // Key name for retrieving filename
65 TTimeIntervalMicroSeconds iDuration; // Stores duration of Audio file
66 TBool iMixHeapStyle; // Should a mixture of shared and separate heap controllers be created?
70 #endif // TESTMIDICLIENTSHAREDHEAP_H