obex/obexprotocol/obexusbtransport/src/ObexUsbImpCollection.cpp
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent 
       
    19 */
       
    20 
       
    21 #include <ecom/ecom.h>
       
    22 #include <ecom/implementationproxy.h>
       
    23 #include "ObexUsbTransportController.h"
       
    24 
       
    25 /**
       
    26 Define the private interface UIDs
       
    27 2 implementations are defined to cater for the USB and USB-V2 variants. Both
       
    28 interfaces call the same NewL function.
       
    29 ECOM passes a TObexTransportInfo parameter. The iTransportName member will
       
    30 be used to cast the parameter to the correct type.
       
    31 */
       
    32 const TImplementationProxy ObexTCImplementationTable[] =
       
    33     {
       
    34 	IMPLEMENTATION_PROXY_ENTRY(0x1020de88, CObexUsbTransportController::NewL),//USB implementation
       
    35 	IMPLEMENTATION_PROXY_ENTRY(0x1020dea4, CObexUsbTransportController::NewL),//USB V2 implementation
       
    36     };
       
    37     
       
    38 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    39     {
       
    40     aTableCount = sizeof(ObexTCImplementationTable) / sizeof(TImplementationProxy);
       
    41 
       
    42     return ObexTCImplementationTable;
       
    43     }
       
    44