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: Implementations using basic personality |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <e32base.h> |
|
20 #include <e32std.h> |
|
21 #include <ecom/ecom.h> |
|
22 #include <ecom/implementationproxy.h> |
|
23 #include <bldvariant.hrh> |
|
24 #include "CUsbActiveBasicHandler.h" |
|
25 |
|
26 /** |
|
27 * Define the private interface UIDs |
|
28 */ |
|
29 const TImplementationProxy UsbPersonalityImplementationTable[] = |
|
30 { |
|
31 IMPLEMENTATION_PROXY_ENTRY(0x102068DF, CUsbActiveBasicHandler::NewL) |
|
32 ,IMPLEMENTATION_PROXY_ENTRY(0x10274792, CUsbActiveBasicHandler::NewL) |
|
33 ,IMPLEMENTATION_PROXY_ENTRY(0x10282C70, CUsbActiveBasicHandler::NewL) |
|
34 ,IMPLEMENTATION_PROXY_ENTRY(0x2000B5D2, CUsbActiveBasicHandler::NewL) // PCS+MTP |
|
35 ,IMPLEMENTATION_PROXY_ENTRY(0x20029E41, CUsbActiveBasicHandler::NewL) // PhoneAsModem |
|
36 ,IMPLEMENTATION_PROXY_ENTRY(0xA000EA04, CUsbActiveBasicHandler::NewL) // RNDIS |
|
37 }; |
|
38 |
|
39 /** |
|
40 * Return number of implementations |
|
41 */ |
|
42 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
43 { |
|
44 aTableCount = sizeof(UsbPersonalityImplementationTable) / sizeof(TImplementationProxy); |
|
45 |
|
46 return UsbPersonalityImplementationTable; |
|
47 } |
|