localconnectivityservice/obexsendservices/obexserviceirsend/src/IRSendingService.cpp
branchRCL_3
changeset 39 4096754ee773
parent 38 3dcb815346df
child 40 52a167391590
equal deleted inserted replaced
38:3dcb815346df 39:4096754ee773
     1 /*
       
     2 * Copyright (c) 2002 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:  Defines the DLL entry point and ECom initialization.
       
    15 *                and a panic function used in BTSS.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include "IrSSProvider.h"
       
    22 #include "IRSendingService.hrh"
       
    23 #include "IrSendingServiceUIDS.hrh"
       
    24 #include <e32std.h>
       
    25 #include <implementationproxy.h>
       
    26 
       
    27 // ============================= LOCAL FUNCTIONS ===============================
       
    28 //
       
    29 
       
    30 // -----------------------------------------------------------------------------
       
    31 // ImplementationTable
       
    32 // ECom init: Maps the interface UIDs to implementation factory functions.
       
    33 // Returns: A table of implementation UIDs and their constructors.
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 const TImplementationProxy ImplementationTable[] =
       
    37     {
       
    38    	IMPLEMENTATION_PROXY_ENTRY(KIRSendingServiceImplUid, CIRSSProvider::NewL)
       
    39     };
       
    40 
       
    41 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // E32Dll 
       
    45 // DLL entry point.
       
    46 // Returns: Symbian OS errorcode.
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 #ifndef EKA2
       
    50 GLDEF_C TInt E32Dll( TDllReason /*aReason*/ )
       
    51     {
       
    52     return KErrNone;
       
    53     }
       
    54 #endif
       
    55 
       
    56 // -----------------------------------------------------------------------------
       
    57 // ImplementationGroupProxy
       
    58 // ECom init: Exported proxy for instantiation method resolution.
       
    59 // Returns: Pointer to the proxy and number of implementations in it.
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    63     {
       
    64     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    65     return ImplementationTable;
       
    66     }
       
    67 
       
    68 //  End of File