|
1 |
|
2 // MmfStdGlblAudioEffect.cpp |
|
3 |
|
4 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
5 // All rights reserved. |
|
6 // This component and the accompanying materials are made available |
|
7 // under the terms of "Eclipse Public License v1.0" |
|
8 // which accompanies this distribution, and is available |
|
9 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
10 // |
|
11 // Initial Contributors: |
|
12 // Nokia Corporation - initial contribution. |
|
13 // |
|
14 // Contributors: |
|
15 // |
|
16 // Description: |
|
17 // |
|
18 |
|
19 #include <mmfstdglblaudioeffect.h> |
|
20 #include <mmf/plugin/mmfglblaudioeffect.hrh> |
|
21 |
|
22 // Define standard UIDs |
|
23 |
|
24 // const TUid KUidMmfGlblVolumePlugin = {KUidMmfGlblVolumePluginDefine}; |
|
25 const TUid KUidMmfGlblEqPlugin = {KUidMmfGlblEqPluginDefine}; |
|
26 const TUid KUidMmfGlblBoostPlugin = {KUidMmfGlblBoostPluginDefine}; |
|
27 |
|
28 // |
|
29 // CMmfGlobalEqEffect |
|
30 // |
|
31 |
|
32 EXPORT_C CMmfGlobalEqEffect* CMmfGlobalEqEffect::NewL(MMmfGlobalAudioEffectObserver* aObserver) |
|
33 { |
|
34 CMmfGlobalEqEffect* self = new (ELeave) CMmfGlobalEqEffect; |
|
35 CleanupStack::PushL(self); |
|
36 self->ConstructL(aObserver); |
|
37 CleanupStack::Pop(self); |
|
38 return self; |
|
39 } |
|
40 |
|
41 CMmfGlobalEqEffect::CMmfGlobalEqEffect() |
|
42 { |
|
43 // empty constructor |
|
44 } |
|
45 |
|
46 void CMmfGlobalEqEffect::ConstructL(MMmfGlobalAudioEffectObserver* aObserver) |
|
47 { |
|
48 BaseConstructL(KUidMmfGlblEqPlugin, aObserver); |
|
49 } |
|
50 |
|
51 // |
|
52 // CMmfGlobalMegaEffect |
|
53 // |
|
54 |
|
55 EXPORT_C CMmfGlobalMegaEffect* CMmfGlobalMegaEffect::NewL(MMmfGlobalAudioEffectObserver* aObserver) |
|
56 { |
|
57 CMmfGlobalMegaEffect* self = new (ELeave) CMmfGlobalMegaEffect; |
|
58 CleanupStack::PushL(self); |
|
59 self->ConstructL(aObserver); |
|
60 CleanupStack::Pop(self); |
|
61 return self; |
|
62 } |
|
63 |
|
64 CMmfGlobalMegaEffect::CMmfGlobalMegaEffect() |
|
65 { |
|
66 // empty constructor |
|
67 } |
|
68 |
|
69 void CMmfGlobalMegaEffect::ConstructL(MMmfGlobalAudioEffectObserver* aObserver) |
|
70 { |
|
71 BaseConstructL(KUidMmfGlblBoostPlugin, aObserver); |
|
72 } |