|
1 // Copyright (c) 2003-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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 #ifndef __TEST_STEP_MIDICLNT_ALLOCFAIL_NEW__ |
|
18 #define __TEST_STEP_MIDICLNT_ALLOCFAIL_NEW__ |
|
19 |
|
20 |
|
21 /** |
|
22 * |
|
23 * XXX |
|
24 * |
|
25 * @lib "" |
|
26 * |
|
27 * @xxxx |
|
28 * |
|
29 */ |
|
30 class CTestStepMidiClntAllocFailNew : public CTestMmfMidiClntStep |
|
31 { |
|
32 public: |
|
33 static CTestStepMidiClntAllocFailNew* NewL(); |
|
34 CTestStepMidiClntAllocFailNew(); |
|
35 ~CTestStepMidiClntAllocFailNew(); |
|
36 virtual TVerdict DoTestStepL(); |
|
37 |
|
38 // from MMidiClientUtilityObserver |
|
39 virtual void MmcuoStateChanged(TMidiState aOldState,TMidiState aNewState,const TTimeIntervalMicroSeconds& aTime,TInt aError); |
|
40 virtual void MmcuoTempoChanged(TInt aMicroBeatsPerMinute); |
|
41 virtual void MmcuoVolumeChanged(TInt aChannel,TReal32 aVolumeInDecibels); |
|
42 virtual void MmcuoMuteChanged(TInt aChannel,TBool aMuted); |
|
43 virtual void MmcuoSyncUpdate(const TTimeIntervalMicroSeconds& aMicroSeconds,TInt64 aMicroBeats); |
|
44 virtual void MmcuoMetaDataEntryFound(const TInt aMetaDataEntryId,const TTimeIntervalMicroSeconds& aPosition); |
|
45 virtual void MmcuoMipMessageReceived(const RArray<TMipMessageEntry>& aEntry); |
|
46 virtual void MmcuoPolyphonyChanged(TInt aNewPolyphony); |
|
47 virtual void MmcuoInstrumentChanged(TInt aChannel,TInt aBankId,TInt aInstrumentId); |
|
48 |
|
49 private: |
|
50 CMidiClientUtility* iMidiClnt; |
|
51 }; |
|
52 |
|
53 |
|
54 #endif //(__TEST_STEP_MIDICLNT_ALLOCFAIL_NEW__) |