localconnectivityservice/obexsendservices/obexservicebtsend/src/BTSendingService.cpp
changeset 18 6743bfee309e
parent 16 c3bac82c6ce0
child 21 23264c07fd05
child 22 582dd7b01c60
equal deleted inserted replaced
16:c3bac82c6ce0 18:6743bfee309e
     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 "BTSSProvider.h"
       
    22 #include "BTSendingServiceUIDS.hrh"
       
    23 #include <e32std.h>
       
    24 #include <implementationproxy.h>
       
    25 
       
    26 // ============================= LOCAL FUNCTIONS ===============================
       
    27 //
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 // ImplementationTable
       
    31 // ECom init: Maps the interface UIDs to implementation factory functions.
       
    32 // Returns: A table of implementation UIDs and their constructors.
       
    33 // -----------------------------------------------------------------------------
       
    34 //
       
    35 const TImplementationProxy ImplementationTable[] =
       
    36     {
       
    37    	IMPLEMENTATION_PROXY_ENTRY(KBTSendingServiceMenuImplUid, CBTSSProvider::NewL),
       
    38    	IMPLEMENTATION_PROXY_ENTRY(KBTSendingServiceBaseImplUid, CBTSSProvider::NewL)
       
    39     };
       
    40 
       
    41 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    42 
       
    43 
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // ImplementationGroupProxy
       
    47 // ECom init: Exported proxy for instantiation method resolution.
       
    48 // Returns: Pointer to the proxy and number of implementations in it.
       
    49 // -----------------------------------------------------------------------------
       
    50 //
       
    51 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    52     {
       
    53     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    54     return ImplementationTable;
       
    55     }
       
    56 
       
    57 //  End of File