os/mm/devsound/devsoundrefplugin/src/codec/sbcencoder/SBCCodecImplementationProxy.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 *
    16 */
    17 
    18 
    19 #include <e32std.h>
    20 #include <ecom/implementationproxy.h>
    21 #include <mmf/plugin/mmfsbccodecimplementationuids.hrh>
    22 
    23 #include "SBCEncoder.h"
    24 
    25 /**
    26 Exported proxy for instantiation method resolution
    27 Define the interface UIDs
    28 */
    29 const TImplementationProxy implementationTable[] = 
    30 	{
    31 	IMPLEMENTATION_PROXY_ENTRY(KMmfUidCodecPCM16ToSBC, CSBCEncoder::NewL)
    32 	};
    33 
    34 /**
    35 Used by the ECom system to obtain a list of implementations available in the library
    36 
    37 @internalAll
    38 @param aTableCount will be initialized to the number of entries
    39 @return TImplementationProxy* a pointer to a list of available implementations
    40 */
    41 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
    42 	{
    43 	aTableCount = sizeof(implementationTable) / sizeof(TImplementationProxy);
    44 	return implementationTable;
    45 	}
    46 
    47