multimediacommscontroller/mmccMsrppayloadformat/src/Msrppayloadformatimplementationproxy.cpp
branchrcs
changeset 49 64c62431ac08
child 50 1d8943dd8be6
equal deleted inserted replaced
44:fb024d5e35fa 49:64c62431ac08
       
     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:    Provides a comfort noise generator class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <ImplementationProxy.h>
       
    21 #include "MsrpPayloadFormatRead.h"
       
    22 #include "MsrpPayloadFormatWrite.h"
       
    23 #include "mccuids.hrh"
       
    24 
       
    25 // CONSTANTS
       
    26 
       
    27 // Exported proxy for instantiation method resolution
       
    28 // Define the interface UIDs
       
    29 const TImplementationProxy ImplementationTable[] = 
       
    30     {
       
    31     IMPLEMENTATION_PROXY_ENTRY( KImplUidMsrpPayloadFormatDecode,
       
    32             CMsrpPayloadFormatRead::NewL ),
       
    33     IMPLEMENTATION_PROXY_ENTRY( KImplUidMsrpPayloadFormatEncode,
       
    34             CMsrpPayloadFormatWrite::NewL )
       
    35     };
       
    36 
       
    37 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // ImplementationGroupProxy
       
    41 // Function to return the implementation proxy table
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    45     {
       
    46     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    47     return ImplementationTable;
       
    48     };
       
    49