os/mm/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/CIPlugins/src/devsoundciutestdevices.cpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/CIPlugins/src/devsoundciutestdevices.cpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,103 @@
     1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +#include <ecom/implementationproxy.h>
    1.20 +#include <ecom/ecom.h>
    1.21 +#include "devsoundciutestdevices.hrh"
    1.22 +#include "aacdecoderconfigtestdevice.h"
    1.23 +#include "g729encoderconfigtestdevice.h"
    1.24 +#include "g729decoderconfigtestdevice.h"
    1.25 +#include "audiovibracontroltestdevice.h"
    1.26 +#include "audiobufferprefilltestdevice.h"
    1.27 +#include "audiodspcontroltestdevice.h"
    1.28 +#include "speechencoderconfigtestdevice.h"
    1.29 +#include "g711decoderconfigtestdevice.h"
    1.30 +#include "g711encoderconfigtestdevice.h"
    1.31 +#include "ilbcdecoderconfigtestdevice.h"
    1.32 +#include "ilbcencoderconfigtestdevice.h"
    1.33 +#include "errorconcealmenttestdevice.h"
    1.34 +#include "gsmconfigtestdevice.h"
    1.35 +#include "underflowautostopcontroltestdevice.h"
    1.36 +#include "playbackstatustestdevice.h"
    1.37 +#include "sbcencodertestdevice.h"
    1.38 +#include "eaacplusdecodertestdevice.h"
    1.39 +#include "setdrmprotectedtestdevice.h"
    1.40 +#include "advancedaacencodesettingstestdevice.h"
    1.41 +#include "bufferframesconfigtestdevice.h"
    1.42 +#include "gettimestampstestdevice.h"
    1.43 +#include "playbackstatustestdevice.h"
    1.44 +#include "sbcencodertestdevice.h"
    1.45 +#include "eaacplusdecodertestdevice.h"
    1.46 +#include "setdrmprotectedtestdevice.h"
    1.47 +#include "advancedaacencodesettingstestdevice.h"
    1.48 +#include "bufferframesconfigtestdevice.h"
    1.49 +#include "gettimestampstestdevice.h"
    1.50 +#ifdef SYMBIAN_MULTIMEDIA_A3FDEVSOUND
    1.51 +#include "MMFDevSoundCIMuxDeMuxPluginImp.h"
    1.52 +#endif
    1.53 +
    1.54 +const TImplementationProxy ImplementationTable[] =
    1.55 +	{
    1.56 +	IMPLEMENTATION_PROXY_ENTRY(KUidAacDecoderConfigTestDevice,	CAacDecoderConfigTestDevice::NewL),
    1.57 +	IMPLEMENTATION_PROXY_ENTRY(KUidG729EncoderConfigTestDevice,	CG729EncoderConfigTestDevice::NewL),
    1.58 +	IMPLEMENTATION_PROXY_ENTRY(KUidG729DecoderConfigTestDevice,	CG729DecoderConfigTestDevice::NewL),
    1.59 +	IMPLEMENTATION_PROXY_ENTRY(KUidAudioVibraControlTestDevice,	CAudioVibraControlTestDevice::NewL),
    1.60 +	IMPLEMENTATION_PROXY_ENTRY(KUidSampleBufferingTestDevice,	CSampleBufferingTestDevice::NewL),
    1.61 +	IMPLEMENTATION_PROXY_ENTRY(KUidAudioDspControlTestDevice,	CAudioDspControlTestDevice::NewL),
    1.62 +	IMPLEMENTATION_PROXY_ENTRY(KUidSpeechEncoderConfigTestDevice,	CSpeechEncoderConfigTestDevice::NewL),
    1.63 +	IMPLEMENTATION_PROXY_ENTRY(KUidG711DecoderConfigTestDevice,		CG711DecoderConfigTestDevice::NewL),
    1.64 +	IMPLEMENTATION_PROXY_ENTRY(KUidG711EncoderConfigTestDevice,		CG711EncoderConfigTestDevice::NewL),
    1.65 +	IMPLEMENTATION_PROXY_ENTRY(KUidIlbcDecoderIntfcTestDevice,		CIlbcDecoderConfigTestDevice::NewL),
    1.66 +	IMPLEMENTATION_PROXY_ENTRY(KUidIlbcEncoderIntfcTestDevice,		CIlbcEncoderConfigTestDevice::NewL),
    1.67 +	IMPLEMENTATION_PROXY_ENTRY(KUidErrorConcealmentIntfcTestDevice,	CErrorConcealmentTestDevice::NewL),
    1.68 +	IMPLEMENTATION_PROXY_ENTRY(KUidGsmConfigTestDevice,				CGsmConfigTestDevice::NewL),
    1.69 +	IMPLEMENTATION_PROXY_ENTRY(KUidUnderflowAutoStopControlTestDevice,	CUnderflowAutoStopControlTestDevice::NewL),
    1.70 +	IMPLEMENTATION_PROXY_ENTRY(KUidPlayBackStatusTestDevice, CPlaybackStatusTestDevice::NewL),
    1.71 +	IMPLEMENTATION_PROXY_ENTRY(KUidSbcEncoderTestDevice, CSbcEncoderTestDevice::NewL),
    1.72 +	IMPLEMENTATION_PROXY_ENTRY(KUidEAacPlusDecoderTestDevice, CEAacPlusDecoderTestDevice::NewL),
    1.73 +	IMPLEMENTATION_PROXY_ENTRY(KUidSetDrmProtectedTestDevice, CSetDRMProtectedTestDevice::NewL),
    1.74 +	IMPLEMENTATION_PROXY_ENTRY(KUidAdvancedAacEncodeSettingsTestDevice, CAdvancedAacEncodeSettingsTestDevice::NewL),
    1.75 +	IMPLEMENTATION_PROXY_ENTRY(KUidBufferFramesConfigTestDevice, CBufferFramesConfigTestDevice::NewL),
    1.76 +	IMPLEMENTATION_PROXY_ENTRY(KUidGetTimestampsTestDevice, CGetTimestampsTestDevice::NewL),
    1.77 +	IMPLEMENTATION_PROXY_ENTRY(KUidPlayBackStatusTestDevice, CPlaybackStatusTestDevice::NewL),
    1.78 +	IMPLEMENTATION_PROXY_ENTRY(KUidSbcEncoderTestDevice, CSbcEncoderTestDevice::NewL),
    1.79 +	IMPLEMENTATION_PROXY_ENTRY(KUidEAacPlusDecoderTestDevice, CEAacPlusDecoderTestDevice::NewL),
    1.80 +	IMPLEMENTATION_PROXY_ENTRY(KUidSetDrmProtectedTestDevice, CSetDRMProtectedTestDevice::NewL),
    1.81 +	IMPLEMENTATION_PROXY_ENTRY(KUidAdvancedAacEncodeSettingsTestDevice, CAdvancedAacEncodeSettingsTestDevice::NewL),
    1.82 +	IMPLEMENTATION_PROXY_ENTRY(KUidBufferFramesConfigTestDevice, CBufferFramesConfigTestDevice::NewL),
    1.83 +	IMPLEMENTATION_PROXY_ENTRY(KUidGetTimestampsTestDevice, CGetTimestampsTestDevice::NewL),
    1.84 +#ifdef SYMBIAN_MULTIMEDIA_A3FDEVSOUND
    1.85 +	IMPLEMENTATION_PROXY_ENTRY(KUidMmfDevSoundCustomInterfaceMuxPlugin,	CMMFDevSoundCIMuxPluginImp::NewL),
    1.86 +	IMPLEMENTATION_PROXY_ENTRY(KUidMmfDevSoundCustomInterfaceDeMuxPlugin,	CMMFDevSoundCIDemuxPluginImp::NewL)
    1.87 +#endif	
    1.88 +	};
    1.89 +
    1.90 +//
    1.91 +// ImplementationGroupProxy
    1.92 +//
    1.93 +EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
    1.94 +	{
    1.95 +	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
    1.96 +
    1.97 +	return ImplementationTable;
    1.98 +	}
    1.99 +
   1.100 +#ifndef EKA2
   1.101 +/** DLL Entry point */
   1.102 +GLDEF_C TInt E32Dll(TDllReason /*aReason*/)
   1.103 +	{
   1.104 +	return(KErrNone);
   1.105 +	}
   1.106 +#endif