systemswstubs/ssyreference/src/ECOMEntryPoint.cpp
changeset 43 e71858845f73
parent 40 b7e5ed8c1342
child 46 e1758cbb96ac
equal deleted inserted replaced
40:b7e5ed8c1342 43:e71858845f73
     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:  ECom entry point for creating ECom plugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <e32std.h>
       
    22 #include <ecom/implementationproxy.h>
       
    23 #include "ssyreferencecontrol.h"
       
    24 
       
    25 // Define the interface UIDs
       
    26 const TImplementationProxy ImplementationTable[] =
       
    27     {
       
    28     IMPLEMENTATION_PROXY_ENTRY( 0x10205088,
       
    29                                 CSsyReferenceControl::NewL )
       
    30     };
       
    31 
       
    32 // The one and only exported function that is the ECom entry point
       
    33 EXPORT_C const TImplementationProxy* ImplementationGroupProxy
       
    34         (TInt& aTableCount)
       
    35     {
       
    36     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    37 
       
    38     return ImplementationTable;
       
    39     }
       
    40 
       
    41 /**
       
    42  * Standard Symbian OS DLL entry point.
       
    43  */
       
    44 #ifndef EKA2
       
    45 TBool E32Dll(TDllReason)
       
    46     {
       
    47     return ETrue;
       
    48     }
       
    49 #endif // EKA2
       
    50 
       
    51 // End of File