equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-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 #include <mtp/mtpdataproviderconfig.rh> |
|
17 |
|
18 |
|
19 STRUCT ELEMENTSARRAY |
|
20 { |
|
21 STRUCT elements[]; |
|
22 } |
|
23 |
|
24 STRUCT DP_FORMATCODE_CONFIG |
|
25 { |
|
26 LONG dp_uid; // DP UID |
|
27 LTEXT file_name[]; // array of FileNames |
|
28 } |
|
29 |
|
30 // |
|
31 |
|
32 |
|
33 // |
|
34 // Resources. (*Append* new resources!!) |
|
35 // |
|
36 |
|
37 RESOURCE MTP_DATA_PROVIDER dpConfig |
|
38 { |
|
39 type = KMTPDataProviderTypeECOM; |
|
40 major_version = 1; |
|
41 object_enumeration_persistent = 0; |
|
42 supported_modes = KMTPModeMTP; |
|
43 server_name = ""; |
|
44 server_image_name = ""; |
|
45 opaque_resource = r_elements_info; |
|
46 } |
|
47 |
|
48 RESOURCE ELEMENTSARRAY r_elements_info |
|
49 { |
|
50 elements= |
|
51 { |
|
52 DP_FORMATCODE_CONFIG |
|
53 { |
|
54 dp_uid = 0x2001B137; |
|
55 file_name = { |
|
56 "san.ds", |
|
57 "itor.ds" |
|
58 }; |
|
59 }, |
|
60 |
|
61 //* |
|
62 //* [SP-Format-0x3002]Special processing for PictBridge DP which own 6 dps file with format 0x3002, |
|
63 //* but it does not really own the format 0x3002. |
|
64 //* |
|
65 //* SendObjectInfo with one of the 3 files is directly routed to PictBridge DP. |
|
66 //* |
|
67 DP_FORMATCODE_CONFIG |
|
68 { |
|
69 dp_uid = 0x2001fe3c; |
|
70 file_name = { |
|
71 "hdiscvry.dps", |
|
72 "hrequest.dps", |
|
73 "hrsponse.dps" |
|
74 }; |
|
75 } |
|
76 //ADD New Data Provider Uid's with the supported FileNames |
|
77 }; |
|
78 |
|
79 } |
|
80 |