multimediacommscontroller/mmccamrpayloadformat/src/amrpayloadformatimplementationproxy.cpp
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004-2006 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:    This file contains the exported proxy for instantiation method
       
    15 *                resolution for the AMR RTP payload format plugin.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 // INCLUDE FILES
       
    23 #include <ecom/implementationproxy.h>
       
    24 #include "amrpayloadformatread.h"
       
    25 #include "amrpayloadformatwrite.h"
       
    26 #include "mccuids.hrh"
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 // Disabled PC-Lint warning for "suspicious typecast" caused by Symbian's
       
    31 // ECom declarations (IMPLEMENTATION_PROXY_ENTRY that follows)
       
    32 /*lint -e611 */
       
    33 
       
    34 // Exported proxy for instantiation method resolution
       
    35 // Define the interface UIDs
       
    36 const TImplementationProxy ImplementationTable[] = 
       
    37     {
       
    38     IMPLEMENTATION_PROXY_ENTRY( KImplUidAmrPayloadFormatDecode,
       
    39             CAmrPayloadFormatRead::NewL ),
       
    40     IMPLEMENTATION_PROXY_ENTRY( KImplUidAmrPayloadFormatEncode,
       
    41             CAmrPayloadFormatWrite::NewL )
       
    42     };
       
    43 
       
    44 
       
    45 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    46 
       
    47 // -----------------------------------------------------------------------------
       
    48 // ImplementationGroupProxy
       
    49 // Function to return the implementation proxy table
       
    50 // -----------------------------------------------------------------------------
       
    51 //
       
    52 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    53     {
       
    54     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    55     return ImplementationTable;
       
    56     };
       
    57