|
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 #include "mtpfiledp_config.rh" |
|
18 |
|
19 RESOURCE MTP_DATA_PROVIDER dpConfig |
|
20 { |
|
21 type = KMTPDataProviderTypeECOM; |
|
22 major_version = 1; |
|
23 object_enumeration_persistent = 0; |
|
24 supported_modes = KMTPModeMTP; |
|
25 server_name = ""; |
|
26 server_image_name = ""; |
|
27 opaque_resource = fileConfig; |
|
28 } |
|
29 |
|
30 RESOURCE MTP_FILEDP_CONFIG fileConfig |
|
31 { |
|
32 enumeration_iteration_length = 32; |
|
33 format_exclusion_list = |
|
34 { |
|
35 // Association |
|
36 0x3001 |
|
37 }; |
|
38 |
|
39 extension_map = |
|
40 { |
|
41 MTP_FILEDP_EXTENSION_MAP |
|
42 { |
|
43 file_extension = "wav"; |
|
44 mtp_object_format = 0x3008; |
|
45 }, |
|
46 MTP_FILEDP_EXTENSION_MAP |
|
47 { |
|
48 file_extension = "mp3"; |
|
49 mtp_object_format = 0x3009; |
|
50 }, |
|
51 MTP_FILEDP_EXTENSION_MAP |
|
52 { |
|
53 file_extension = "wma"; |
|
54 mtp_object_format = 0xb901; |
|
55 }, |
|
56 MTP_FILEDP_EXTENSION_MAP |
|
57 { |
|
58 file_extension = "aac"; |
|
59 mtp_object_format = 0xb903; |
|
60 }, |
|
61 MTP_FILEDP_EXTENSION_MAP |
|
62 { |
|
63 file_extension = "jpg"; |
|
64 mtp_object_format = 0x3801; |
|
65 }, |
|
66 MTP_FILEDP_EXTENSION_MAP |
|
67 { |
|
68 file_extension = "gif"; |
|
69 mtp_object_format = 0x3807; |
|
70 }, |
|
71 MTP_FILEDP_EXTENSION_MAP |
|
72 { |
|
73 file_extension = "png"; |
|
74 mtp_object_format = 0x380b; |
|
75 }, |
|
76 MTP_FILEDP_EXTENSION_MAP |
|
77 { |
|
78 file_extension = "bmp"; |
|
79 mtp_object_format = 0x3804; |
|
80 }, |
|
81 MTP_FILEDP_EXTENSION_MAP |
|
82 { |
|
83 file_extension = "wpl"; |
|
84 mtp_object_format = 0xba10; |
|
85 }, |
|
86 MTP_FILEDP_EXTENSION_MAP |
|
87 { |
|
88 file_extension = "m3u"; |
|
89 mtp_object_format = 0xba11; |
|
90 }, |
|
91 MTP_FILEDP_EXTENSION_MAP |
|
92 { |
|
93 file_extension = "mp4"; |
|
94 mtp_object_format = 0xb982; |
|
95 }, |
|
96 MTP_FILEDP_EXTENSION_MAP |
|
97 { |
|
98 file_extension = "m4a"; |
|
99 mtp_object_format = 0xb982; |
|
100 }, |
|
101 MTP_FILEDP_EXTENSION_MAP |
|
102 { |
|
103 file_extension = "m4b"; |
|
104 mtp_object_format = 0xb982; |
|
105 }, |
|
106 MTP_FILEDP_EXTENSION_MAP |
|
107 { |
|
108 file_extension = "m4v"; |
|
109 mtp_object_format = 0xb982; |
|
110 }, |
|
111 MTP_FILEDP_EXTENSION_MAP |
|
112 { |
|
113 file_extension = "3gp"; |
|
114 mtp_object_format = 0xb984; |
|
115 }, |
|
116 MTP_FILEDP_EXTENSION_MAP |
|
117 { |
|
118 file_extension = "3gpp"; |
|
119 mtp_object_format = 0xb984; |
|
120 }, |
|
121 MTP_FILEDP_EXTENSION_MAP |
|
122 { |
|
123 file_extension = "3ga"; |
|
124 mtp_object_format = 0xb984; |
|
125 }, |
|
126 MTP_FILEDP_EXTENSION_MAP |
|
127 { |
|
128 file_extension = "asf"; |
|
129 mtp_object_format = 0x300C; |
|
130 }, |
|
131 MTP_FILEDP_EXTENSION_MAP |
|
132 { |
|
133 file_extension = "wmv"; |
|
134 mtp_object_format = 0xB981; |
|
135 } |
|
136 }; |
|
137 } |