sl@0: // Copyright (c) 2007-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: #ifndef MDEVSOUNDADAPTATIONINFOOBSERVER_H sl@0: #define MDEVSOUNDADAPTATIONINFOOBSERVER_H sl@0: sl@0: /** sl@0: @publishedPartner sl@0: @file sl@0: @released sl@0: */ sl@0: sl@0: #include sl@0: #include sl@0: sl@0: sl@0: /** sl@0: * An interface to a set of A3FDevSoundAdaptationInfo callback functions. sl@0: * sl@0: * This serves as the method of communication between the A3FDevSoundAdaptationInfo sl@0: * and the client sl@0: * sl@0: */ sl@0: class MA3FDevSoundAdaptationInfoObserver sl@0: { sl@0: public: sl@0: /** sl@0: * Notifies the observer of the max gain supported sl@0: * sl@0: * @param aCodecType the UID passed to the original RequestMaxGain() call sl@0: * @param aError an standard symbian error code. KErrNone if succesful sl@0: * @param aResult the supported MaxGain/MaxVolume value, if aError==KErrNone sl@0: */ sl@0: virtual void RequestMaxGainComplete (TUid aCodecType, TInt aError, TInt aResult)=0; sl@0: sl@0: sl@0: /** sl@0: * Notifies the observer that the max ramp time supported by the gain sl@0: * control has changed. sl@0: * sl@0: * @param aCodecType the UID passed to the original RequestSupportedForamts() call sl@0: * @param aError an standard symbian error code. KErrNone if succesful sl@0: */ sl@0: virtual void RequestSupportedFormatsComplete(TUid aCodecType, TInt aError)=0; sl@0: sl@0: }; sl@0: sl@0: #endif //MDEVSOUNDADAPTATIONINFOOBSERVER_H