sl@0: sl@0: // MmfStdGlblAudioEffect.cpp sl@0: sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #include sl@0: #include sl@0: sl@0: // Define standard UIDs sl@0: sl@0: // const TUid KUidMmfGlblVolumePlugin = {KUidMmfGlblVolumePluginDefine}; sl@0: const TUid KUidMmfGlblEqPlugin = {KUidMmfGlblEqPluginDefine}; sl@0: const TUid KUidMmfGlblBoostPlugin = {KUidMmfGlblBoostPluginDefine}; sl@0: sl@0: // sl@0: // CMmfGlobalEqEffect sl@0: // sl@0: sl@0: EXPORT_C CMmfGlobalEqEffect* CMmfGlobalEqEffect::NewL(MMmfGlobalAudioEffectObserver* aObserver) sl@0: { sl@0: CMmfGlobalEqEffect* self = new (ELeave) CMmfGlobalEqEffect; sl@0: CleanupStack::PushL(self); sl@0: self->ConstructL(aObserver); sl@0: CleanupStack::Pop(self); sl@0: return self; sl@0: } sl@0: sl@0: CMmfGlobalEqEffect::CMmfGlobalEqEffect() sl@0: { sl@0: // empty constructor sl@0: } sl@0: sl@0: void CMmfGlobalEqEffect::ConstructL(MMmfGlobalAudioEffectObserver* aObserver) sl@0: { sl@0: BaseConstructL(KUidMmfGlblEqPlugin, aObserver); sl@0: } sl@0: sl@0: // sl@0: // CMmfGlobalMegaEffect sl@0: // sl@0: sl@0: EXPORT_C CMmfGlobalMegaEffect* CMmfGlobalMegaEffect::NewL(MMmfGlobalAudioEffectObserver* aObserver) sl@0: { sl@0: CMmfGlobalMegaEffect* self = new (ELeave) CMmfGlobalMegaEffect; sl@0: CleanupStack::PushL(self); sl@0: self->ConstructL(aObserver); sl@0: CleanupStack::Pop(self); sl@0: return self; sl@0: } sl@0: sl@0: CMmfGlobalMegaEffect::CMmfGlobalMegaEffect() sl@0: { sl@0: // empty constructor sl@0: } sl@0: sl@0: void CMmfGlobalMegaEffect::ConstructL(MMmfGlobalAudioEffectObserver* aObserver) sl@0: { sl@0: BaseConstructL(KUidMmfGlblBoostPlugin, aObserver); sl@0: }