sl@0: sl@0: // MmfGlblAudioEffect.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: // sl@0: // CMmfGlobalAudioEffect sl@0: // sl@0: sl@0: EXPORT_C TUint CMmfGlobalAudioEffect::Capability(TBool aCurrentOnly) sl@0: { sl@0: return iBaseImplementation->Capability(aCurrentOnly); sl@0: } sl@0: sl@0: EXPORT_C void CMmfGlobalAudioEffect::RequestNotificationL(TUid aEventUid) sl@0: { sl@0: iBaseImplementation->RequestNotificationL(aEventUid); sl@0: } sl@0: sl@0: EXPORT_C TBool CMmfGlobalAudioEffect::IsEnabled() const sl@0: { sl@0: return iBaseImplementation->IsEnabled(); sl@0: } sl@0: sl@0: EXPORT_C TBool CMmfGlobalAudioEffect::IsActive() const sl@0: { sl@0: return iBaseImplementation->IsActive(); sl@0: } sl@0: sl@0: EXPORT_C void CMmfGlobalAudioEffect::SetEnabledL(TBool aBool) sl@0: { sl@0: iBaseImplementation->SetEnabledL(aBool); sl@0: } sl@0: sl@0: EXPORT_C TUid CMmfGlobalAudioEffect::SettingsByUidL() const sl@0: { sl@0: return iBaseImplementation->SettingsByUidL(); sl@0: } sl@0: sl@0: EXPORT_C void CMmfGlobalAudioEffect::SetSettingsByUidL(TUid aPresetUid) sl@0: { sl@0: iBaseImplementation->SetSettingsByUidL(aPresetUid); sl@0: } sl@0: sl@0: EXPORT_C HBufC8* CMmfGlobalAudioEffect::SettingsByDesL() const sl@0: { sl@0: return iBaseImplementation->SettingsByDesL(); sl@0: } sl@0: sl@0: EXPORT_C void CMmfGlobalAudioEffect::SetSettingsByDesL(const TDesC8& aParam) sl@0: { sl@0: iBaseImplementation->SetSettingsByDesL(aParam); sl@0: } sl@0: sl@0: EXPORT_C MMmfGlobalAudioPresetList* CMmfGlobalAudioEffect::KnownPresetsL() sl@0: { sl@0: return iBaseImplementation->KnownPresetsL(); sl@0: } sl@0: sl@0: EXPORT_C void CMmfGlobalAudioEffect::ExtractValuesL(TDes8& aPackageBuf) sl@0: { sl@0: iBaseImplementation->ExtractValuesL(aPackageBuf); sl@0: } sl@0: sl@0: EXPORT_C void CMmfGlobalAudioEffect::SetByValuesL(const TDesC8& aPackageBuf) sl@0: { sl@0: iBaseImplementation->SetByValuesL(aPackageBuf); sl@0: } sl@0: sl@0: EXPORT_C CMmfGlobalAudioEffect::CMmfGlobalAudioEffect() sl@0: { sl@0: // nothing to construct sl@0: } sl@0: sl@0: EXPORT_C CMmfGlobalAudioEffect::~CMmfGlobalAudioEffect() sl@0: { sl@0: if (iBaseImplementation) sl@0: { sl@0: iBaseImplementation->Release(); sl@0: } sl@0: } sl@0: sl@0: EXPORT_C void CMmfGlobalAudioEffect::BaseConstructL(TUid aImplementationUid, MMmfGlobalAudioEffectObserver* aObserver) sl@0: { sl@0: iBaseImplementation = MMmfGlobalAudioImpl::NewL(aImplementationUid, this, aObserver); sl@0: } sl@0: sl@0: EXPORT_C TInt CMmfGlobalAudioEffect::CreateCustomInterface(TUid aInterfaceUid) sl@0: { sl@0: return iBaseImplementation->CreateCustomInterface(aInterfaceUid); sl@0: } sl@0: sl@0: EXPORT_C TAny* CMmfGlobalAudioEffect::CustomInterface(TUid aInterfaceUid) sl@0: { sl@0: return iBaseImplementation->CustomInterface(aInterfaceUid); sl@0: }