|
1 /* |
|
2 * Copyright (c) 2007-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #include <usbhost/internal/fdcpluginobserver.h> |
|
24 #include <usb/usblogger.h> |
|
25 |
|
26 #ifdef __FLOG_ACTIVE |
|
27 _LIT8(KLogComponent, "fdcplugin"); |
|
28 #endif |
|
29 |
|
30 EXPORT_C TUint32 MFdcPluginObserver::TokenForInterface(TUint8 aInterface) |
|
31 { |
|
32 LOG_FUNC |
|
33 |
|
34 return MfpoTokenForInterface(aInterface); |
|
35 } |
|
36 |
|
37 EXPORT_C const RArray<TUint>& MFdcPluginObserver::GetSupportedLanguagesL(TUint aDeviceId) |
|
38 { |
|
39 return MfpoGetSupportedLanguagesL(aDeviceId); |
|
40 } |
|
41 |
|
42 EXPORT_C TInt MFdcPluginObserver::GetManufacturerStringDescriptor(TUint aDeviceId, TUint aLangId, TName& aString) |
|
43 { |
|
44 return MfpoGetManufacturerStringDescriptor(aDeviceId, aLangId, aString); |
|
45 } |
|
46 |
|
47 EXPORT_C TInt MFdcPluginObserver::GetProductStringDescriptor(TUint aDeviceId, TUint aLangId, TName& aString) |
|
48 { |
|
49 return MfpoGetProductStringDescriptor(aDeviceId, aLangId, aString); |
|
50 } |
|
51 |
|
52 EXPORT_C TInt MFdcPluginObserver::GetSerialNumberStringDescriptor(TUint aDeviceId, TUint aLangId, TName& aString) |
|
53 { |
|
54 return MfpoGetSerialNumberStringDescriptor(aDeviceId, aLangId, aString); |
|
55 } |