usbmgmt/usbmgr/device/classdrivers/ms/classcontroller/src/CUsbMsClassImpCollection.cpp
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
24 #include <e32std.h> |
24 #include <e32std.h> |
25 #include <ecom/ecom.h> |
25 #include <ecom/ecom.h> |
26 #include <ecom/implementationproxy.h> |
26 #include <ecom/implementationproxy.h> |
27 #include "CUsbMsClassController.h" |
27 #include "CUsbMsClassController.h" |
28 |
28 |
29 #include "OstTraceDefinitions.h" |
|
30 #ifdef OST_TRACE_COMPILER_IN_USE |
|
31 #include "CUsbMsClassImpCollectionTraces.h" |
|
32 #endif |
|
33 |
|
34 |
|
35 // Define the private interface UIDs |
29 // Define the private interface UIDs |
36 const TImplementationProxy UsbCCImplementationTable[] = |
30 const TImplementationProxy UsbCCImplementationTable[] = |
37 { |
31 { |
38 IMPLEMENTATION_PROXY_ENTRY(0x10204bbc, CUsbMsClassController::NewL), |
32 IMPLEMENTATION_PROXY_ENTRY(0x10204bbc, CUsbMsClassController::NewL), |
39 }; |
33 }; |
40 |
34 |
41 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
35 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
42 { |
36 { |
43 OstTraceFunctionEntry0( CUSBMSCLASSIMPCOLLECTION_IMPLEMENTATIONGROUPPROXY_ENTRY ); |
|
44 aTableCount = sizeof(UsbCCImplementationTable) / sizeof(TImplementationProxy); |
37 aTableCount = sizeof(UsbCCImplementationTable) / sizeof(TImplementationProxy); |
45 OstTraceFunctionExit0( CUSBMSCLASSIMPCOLLECTION_IMPLEMENTATIONGROUPPROXY_EXIT ); |
38 |
46 return UsbCCImplementationTable; |
39 return UsbCCImplementationTable; |
47 } |
40 } |