multimediacommscontroller/mmcch263payloadformat/src/mcch263payloadformatimplementationproxy.cpp
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 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:     
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include <e32std.h>
       
    23 #include <ecom/implementationproxy.h>
       
    24 #include "mccuids.hrh"
       
    25 #include "mcch263payloadformatwrite.h"
       
    26 
       
    27 // CONSTANTS
       
    28 
       
    29 // Exported proxy for instantiation method resolution
       
    30 // Define the interface UIDs
       
    31 #ifndef EKA2
       
    32 const TImplementationProxy ImplementationTable[] = 
       
    33     {
       
    34         { { KImplUidH263PayloadFormatEncode },    CMccH263PayloadFormatWrite::NewL }
       
    35     };
       
    36 #else
       
    37 
       
    38 // Disabled PC-Lint warning for "suspicious typecast" caused by Symbian's
       
    39 // ECom declarations (IMPLEMENTATION_PROXY_ENTRY that follows)
       
    40 /*lint -e611 */
       
    41 
       
    42 const TImplementationProxy ImplementationTable[] = 
       
    43     {
       
    44     IMPLEMENTATION_PROXY_ENTRY( KImplUidH263PayloadFormatEncode, CMccH263PayloadFormatWrite::NewL )
       
    45     };
       
    46 #endif
       
    47 
       
    48 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 // ImplementationGroupProxy
       
    52 //
       
    53 // Function to return the implementation proxy table
       
    54 // -----------------------------------------------------------------------------
       
    55 //
       
    56 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    57     {
       
    58     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    59 
       
    60     return ImplementationTable;
       
    61     }
       
    62 
       
    63 // -----------------------------------------------------------------------------
       
    64 // E32Dll
       
    65 //
       
    66 // DLL entry point
       
    67 // -----------------------------------------------------------------------------
       
    68 //
       
    69 #ifndef EKA2
       
    70 
       
    71 GLDEF_C TInt E32Dll ( TDllReason /*aReason*/ )
       
    72     {
       
    73     return ( KErrNone );
       
    74     }
       
    75     
       
    76 #endif
       
    77 
       
    78 // End of file