mmhais/a3fdevsoundcustomisation/src/devsoundadaptationinfo/devsoundadaptationinfoimpl.h
changeset 0 79dd3e2336a0
equal deleted inserted replaced
-1:000000000000 0:79dd3e2336a0
       
     1 // Copyright (c) 2006-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 #ifndef DEVSOUNDADAPTATIONINFOIMPL_H
       
    17 #define DEVSOUNDADAPTATIONINFOIMPL_H
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <a3f/a3f_trace_utils.h>
       
    21 #include <a3f/audioprocessingunittypeuids.h>
       
    22 #include <a3f/devsoundadaptationinfo.h>
       
    23 
       
    24 class MA3FDevSoundAdaptationInfoObserver;
       
    25 
       
    26 /*
       
    27 The first level implementation of CA3FDevsoundAdaptationInfo.
       
    28 */
       
    29 NONSHARABLE_CLASS(CA3FDevSoundAdaptationInfoImpl) : public CA3FDevSoundAdaptationInfo
       
    30 	{
       
    31 	class CBody;
       
    32 	friend class CA3FDevSoundAdaptationInfo;
       
    33 
       
    34 public:
       
    35 
       
    36 	/*
       
    37 	Destructor.
       
    38 	*/
       
    39 	~CA3FDevSoundAdaptationInfoImpl();
       
    40 
       
    41 	// from CA3FDevSoundAdaptationInfo
       
    42 	TInt RequestMaxGain(TUid aCodecType);
       
    43 	TInt RequestSupportedFormats(TUid aCodecType, RArray<TUid>& aSupportedFormats);
       
    44 	TInt Extension_(TUint aExtensionId, TAny*& aExtPtr, TAny*);
       
    45 
       
    46 private:
       
    47 	void ConstructL(MA3FDevSoundAdaptationInfoObserver& aAdaptationInfoObserver, CFourCCConvertor& aFourCcConvertor);
       
    48 	CA3FDevSoundAdaptationInfoImpl();
       
    49 
       
    50 private:
       
    51 
       
    52 	CBody* iBody;
       
    53 	};
       
    54 
       
    55 
       
    56 #endif // DEVSOUNDADAPTATIONINFOIMPL_H