mmdevicefw/mdfunittest/codecapi/PU/pcmcodec/src/pcmprocessingunitmain.cpp
changeset 0 79dd3e2336a0
equal deleted inserted replaced
-1:000000000000 0:79dd3e2336a0
       
     1 // Copyright (c) 2005-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 #include "pcmprocessingunit.h"
       
    17 #include <ecom/implementationproxy.h>
       
    18 #include "uids.hrh"
       
    19 
       
    20 // __________________________________________________________________________
       
    21 // Exported proxy for instantiation method resolution
       
    22 // Define the interface UIDs
       
    23 const TImplementationProxy ImplementationTable[] = 
       
    24 	{
       
    25 	IMPLEMENTATION_PROXY_ENTRY(KUidPcmP8P16PU, CPcmProcessingUnit::NewP8P16L),
       
    26 	IMPLEMENTATION_PROXY_ENTRY(KUidPcmP16P8PU, CPcmProcessingUnit::NewP16P8L),
       
    27 	IMPLEMENTATION_PROXY_ENTRY(KUidPcmPU8P16PU, CPcmProcessingUnit::NewPU8P16L),
       
    28 	IMPLEMENTATION_PROXY_ENTRY(KUidPcmP16PU8PU, CPcmProcessingUnit::NewP16PU8L),
       
    29 	IMPLEMENTATION_PROXY_ENTRY(KUidPcmDummyP8P16U, CPcmProcessingUnit::NewP8P16L),
       
    30 	};
       
    31 
       
    32 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    33 	{
       
    34 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    35 
       
    36 	return ImplementationTable;
       
    37 	}
       
    38