multimediacommsengine/mmcefloorctrlplugin/src/staticdllentry.cpp
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2005-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:    staticdllentry.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #include <e32std.h>
       
    22 #include <ecom/implementationproxy.h>
       
    23 
       
    24 #include "fctbcpfloorcontrolimpl.h"
       
    25 
       
    26 
       
    27 // Map the interface UIDs to implementation factory functions
       
    28 /*lint -e611 */
       
    29 
       
    30 const TImplementationProxy ImplementationTable[] = 
       
    31 	{
       
    32 		IMPLEMENTATION_PROXY_ENTRY(0x102010E3,	CTBCPFloorControlImpl::NewL),
       
    33 		
       
    34 	};
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // DLL entry
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40  // Bullseye reguires following entry point
       
    41 #ifdef _BullseyeCoverage
       
    42 GLDEF_C int __stdcall __E32Dll(void*, unsigned, void*)
       
    43 	{
       
    44 	return 0;
       
    45 	}
       
    46 #else
       
    47 #ifndef EKA2
       
    48 // Starting point of the DLL (Removed in EKA2) 
       
    49 /*lint -e40 */
       
    50 /*lint -e10 */
       
    51 
       
    52 GLDEF_C TInt E32Dll(TDllReason)
       
    53 	{
       
    54 	return(KErrNone);
       
    55 	}
       
    56 #endif
       
    57 #endif // _BullseyeCoverage
       
    58 
       
    59 // -----------------------------------------------------------------------------
       
    60 // ImplementationGroupProxy
       
    61 // Exported proxy for instantiation method resolution
       
    62 // -----------------------------------------------------------------------------
       
    63 //
       
    64 
       
    65 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    66 	{
       
    67 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    68 
       
    69 	return ImplementationTable;
       
    70 	}
       
    71 
       
    72 
       
    73 
       
    74