|
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 "mtpserviceconfig.rh" |
|
17 |
|
18 |
|
19 //main resource header |
|
20 //MTP_SUPPORTED_SERVICES.guid must not be duplicate |
|
21 RESOURCE ELEMENTSARRAY mtp_supported_services |
|
22 { |
|
23 elements= |
|
24 { |
|
25 // Full Enumeration Sync Service |
|
26 MTP_SUPPORTED_SERVICES |
|
27 { |
|
28 guid = { 0x102827A1 , 0x00000001 , 0x00000000, 0x00000000 }; |
|
29 svctype = 1; |
|
30 r_serviceinfo = r_elements_fullsync; |
|
31 }, |
|
32 |
|
33 //Anchor Sync Service |
|
34 MTP_SUPPORTED_SERVICES |
|
35 { |
|
36 guid = { 0x102827A1 , 0x00000002 , 0x00000000, 0x00000000 }; |
|
37 svctype = 1; |
|
38 r_serviceinfo = r_elements_anchorsync; |
|
39 } |
|
40 |
|
41 }; |
|
42 } |
|
43 |
|
44 |
|
45 //---------------Begin ----------Full Sync Service-------------------------------------------------------------------------------------------------- |
|
46 |
|
47 RESOURCE MTP_SERVICE_INFO r_elements_fullsync |
|
48 { |
|
49 pguid = { 0x102827A1 , 0x00000001 , 0x00000000, 0x00000000 }; |
|
50 |
|
51 version = 100; |
|
52 |
|
53 svcguid = { 0x28d3aac9, 0xc07544be, 0x888165f3, 0x8d305909 }; |
|
54 |
|
55 |
|
56 servicename = "FullEnumSync"; |
|
57 servicetype = 1; |
|
58 base_serviceid = 0; |
|
59 |
|
60 use_service_guids = r_elements_fullsync_usedguids; |
|
61 |
|
62 svc_property_namespaces = r_elements_fullsync_property_namespaces; |
|
63 svc_properties = r_elements_fullsync_properties; |
|
64 svc_formats = r_elements_fullsync_formats; |
|
65 svc_methods = r_elements_fullsync_methods; |
|
66 svc_events = r_elements_fullsync_events; |
|
67 svc_datablock = r_elements_fullsync_datablock; |
|
68 } |
|
69 |
|
70 //SVC_GUID must not be duplicate |
|
71 RESOURCE ELEMENTSARRAY r_elements_fullsync_usedguids |
|
72 { |
|
73 elements = |
|
74 { |
|
75 // SVC_GUID |
|
76 // { |
|
77 // } |
|
78 |
|
79 }; |
|
80 } |
|
81 |
|
82 //SVC_GUID must not be duplicate |
|
83 RESOURCE ELEMENTSARRAY r_elements_fullsync_property_namespaces |
|
84 { |
|
85 elements = |
|
86 { |
|
87 SVC_GUID |
|
88 { |
|
89 guid = { 0x63b10e6c, 0x4f3a456d, 0x95cb9894, 0xedec9fa5 }; |
|
90 }, |
|
91 SVC_GUID |
|
92 { |
|
93 guid = { 0x703d392c, 0x532c4607, 0x91589cea, 0x742f3a16 }; |
|
94 } |
|
95 }; |
|
96 } |
|
97 |
|
98 //(SVC_PROPERTY.namespaceid + SVC_PROPERTY.pkid) must not be duplicate |
|
99 RESOURCE ELEMENTSARRAY r_elements_fullsync_properties |
|
100 { |
|
101 elements = |
|
102 { |
|
103 |
|
104 SVC_PROPERTY |
|
105 { |
|
106 namespaceid = 0; |
|
107 pkid = 3; |
|
108 name = "FullEnumVersionProps"; |
|
109 datatype = 0x00004002; |
|
110 getset = 0x00; |
|
111 formflag = 0x00; |
|
112 }, |
|
113 |
|
114 SVC_PROPERTY |
|
115 { |
|
116 namespaceid = 0; |
|
117 pkid = 4; |
|
118 name = "FullEnumReplicaID"; |
|
119 datatype = 0x0000000A; |
|
120 getset = 0x01; |
|
121 formflag = 0x00; |
|
122 }, |
|
123 |
|
124 SVC_PROPERTY |
|
125 { |
|
126 namespaceid = 0; |
|
127 pkid = 7; |
|
128 name = "FullEnumKnowledgeObjectID"; |
|
129 datatype = 0x00000006; |
|
130 getset = 0x00; |
|
131 formflag = 0x00; |
|
132 }, |
|
133 |
|
134 SVC_PROPERTY |
|
135 { |
|
136 namespaceid = 0; |
|
137 pkid = 8; |
|
138 name = "FullEnumLastSyncProxyID"; |
|
139 datatype = 0x0000000A; |
|
140 getset = 0x01; |
|
141 formflag = 0x00; |
|
142 }, |
|
143 |
|
144 SVC_PROPERTY |
|
145 { |
|
146 namespaceid = 0; |
|
147 pkid = 9; |
|
148 name = "FullEnumProviderVersion"; |
|
149 datatype = 0x00000004; |
|
150 getset = 0x00; |
|
151 formflag = 0x00; |
|
152 }, |
|
153 |
|
154 SVC_PROPERTY |
|
155 { |
|
156 namespaceid = 1; |
|
157 pkid = 2; |
|
158 name = "SyncFormat"; |
|
159 datatype = 0x0000000A; |
|
160 getset = 0x00; |
|
161 formflag = 0x00; |
|
162 }, |
|
163 |
|
164 SVC_PROPERTY |
|
165 { |
|
166 namespaceid = 1; |
|
167 pkid = 3; |
|
168 name = "LocalOnlyDelete"; |
|
169 datatype = 0x00000002; |
|
170 getset = 0x01; |
|
171 formflag = 0x02; |
|
172 }, |
|
173 |
|
174 SVC_PROPERTY |
|
175 { |
|
176 namespaceid = 1; |
|
177 pkid = 4; |
|
178 name = "FilterType"; |
|
179 datatype = 0x00000002; |
|
180 getset = 0x01; |
|
181 formflag = 0x00; |
|
182 }, |
|
183 |
|
184 SVC_PROPERTY |
|
185 { |
|
186 namespaceid = 1; |
|
187 pkid = 5; |
|
188 name = "SyncObjectReferences"; |
|
189 datatype = 0x00000002; |
|
190 getset = 0x00; |
|
191 formflag = 0x02; |
|
192 } |
|
193 }; |
|
194 } |
|
195 |
|
196 //SVC_FORMAT.guid must not be duplicate |
|
197 RESOURCE ELEMENTSARRAY r_elements_fullsync_formats |
|
198 { |
|
199 elements = |
|
200 { |
|
201 |
|
202 SVC_FORMAT |
|
203 { |
|
204 guid = { 0x221bce32, 0x221b4f45, 0xb48b80de, 0x9a93a44a }; |
|
205 name = "FullEnumSyncKnowledge"; |
|
206 mimetype1 = ""; |
|
207 baseformatcode1 = 0; |
|
208 } |
|
209 |
|
210 }; |
|
211 } |
|
212 |
|
213 //SVC_METHOD.guid must not be duplicate |
|
214 RESOURCE ELEMENTSARRAY r_elements_fullsync_methods |
|
215 { |
|
216 elements = |
|
217 { |
|
218 SVC_METHOD |
|
219 { |
|
220 guid = { 0x63803e07, 0xc71345d3, 0x81193479, 0xb31d3592 }; |
|
221 name = "BeginSync"; |
|
222 obj_ass_formatcode1 = 0; |
|
223 }, |
|
224 |
|
225 SVC_METHOD |
|
226 { |
|
227 guid = { 0x40f3f0f7, 0xa539422e, 0x98ddfd8d, 0x385c8849 }; |
|
228 name = "EndSync"; |
|
229 obj_ass_formatcode1 = 0; |
|
230 } |
|
231 }; |
|
232 } |
|
233 |
|
234 //SVC_EVENT.guid must not be duplicate |
|
235 RESOURCE ELEMENTSARRAY r_elements_fullsync_events |
|
236 { |
|
237 elements = |
|
238 { |
|
239 // SVC_EVENT |
|
240 // { |
|
241 // datacode = 0xC303 ; |
|
242 // guid = { 0x00000000, 0x00000000, 0x00000000, 0x00000000 }; |
|
243 // name = "ServicePropChanged"; |
|
244 // }, |
|
245 // |
|
246 // SVC_EVENT |
|
247 // { |
|
248 // datacode = 0xC304; |
|
249 // guid = { 0x00000000, 0x00000000, 0x00000000, 0x00000000 }; |
|
250 // name = "MethodComplete"; |
|
251 // } |
|
252 }; |
|
253 } |
|
254 |
|
255 //SVC_GUID must not be duplicate |
|
256 RESOURCE ELEMENTSARRAY r_elements_fullsync_datablock |
|
257 { |
|
258 elements = |
|
259 { |
|
260 // SVC_GUID |
|
261 // { |
|
262 // } |
|
263 |
|
264 }; |
|
265 } |
|
266 |
|
267 //---------------End ----------Full Sync Service-------------------------------------------------------------------------------------------------- |
|
268 |
|
269 |
|
270 |
|
271 //---------------Begin ----------Anchor Sync Service-------------------------------------------------------------------------------------------------- |
|
272 |
|
273 RESOURCE MTP_SERVICE_INFO r_elements_anchorsync |
|
274 { |
|
275 pguid = { 0x102827A1 , 0x00000002 , 0x00000000, 0x00000000 }; |
|
276 |
|
277 version = 100; |
|
278 |
|
279 svcguid = { 0x056d8b9e, 0xad7a44fc, 0x946f1d63, 0xa25cda9a } ; |
|
280 |
|
281 |
|
282 servicename = "AnchorSync"; |
|
283 servicetype = 1; |
|
284 base_serviceid = 0; |
|
285 |
|
286 use_service_guids = r_elements_anchorsync_usedguids; |
|
287 |
|
288 svc_property_namespaces = r_elements_anchorsync_property_namespaces; |
|
289 svc_properties = r_elements_anchorsync_properties; |
|
290 svc_formats = r_elements_anchorsync_formats; |
|
291 svc_methods = r_elements_anchorsync_methods; |
|
292 svc_events = r_elements_anchorsync_events; |
|
293 svc_datablock = r_elements_anchorsync_datablock; |
|
294 } |
|
295 |
|
296 //SVC_GUID must not be duplicate |
|
297 RESOURCE ELEMENTSARRAY r_elements_anchorsync_usedguids |
|
298 { |
|
299 elements = |
|
300 { |
|
301 // SVC_GUID |
|
302 // { |
|
303 // }; |
|
304 }; |
|
305 } |
|
306 |
|
307 //SVC_GUID must not be duplicate |
|
308 RESOURCE ELEMENTSARRAY r_elements_anchorsync_property_namespaces |
|
309 { |
|
310 elements = |
|
311 { |
|
312 SVC_GUID |
|
313 { |
|
314 guid ={0xe65b8fb7,0x8fc74278,0xb9a3ba14,0xc2db40fa}; |
|
315 }, |
|
316 SVC_GUID |
|
317 { |
|
318 guid ={0x703d392c,0x532c4607,0x91589cea,0x742f3a16}; |
|
319 } |
|
320 }; |
|
321 } |
|
322 |
|
323 //(SVC_PROPERTY.namespaceid + SVC_PROPERTY.pkid) must not be duplicate |
|
324 RESOURCE ELEMENTSARRAY r_elements_anchorsync_properties |
|
325 { |
|
326 elements = |
|
327 { |
|
328 |
|
329 SVC_PROPERTY |
|
330 { |
|
331 namespaceid = 0; |
|
332 pkid = 2; |
|
333 name = "AnchorVersionProps"; |
|
334 datatype = 0x00004002; |
|
335 getset = 0x00; |
|
336 formflag = 0x00; |
|
337 }, |
|
338 |
|
339 SVC_PROPERTY |
|
340 { |
|
341 namespaceid = 0; |
|
342 pkid = 3; |
|
343 name = "AnchorReplicaID"; |
|
344 datatype = 0x0000000A; |
|
345 getset = 0x01; |
|
346 formflag = 0x00; |
|
347 }, |
|
348 |
|
349 SVC_PROPERTY |
|
350 { |
|
351 namespaceid = 0; |
|
352 pkid = 4; |
|
353 name = "AnchorKnowledgeObjectID"; |
|
354 datatype = 0x00000006; |
|
355 getset = 0x00; |
|
356 formflag = 0x00; |
|
357 }, |
|
358 |
|
359 SVC_PROPERTY |
|
360 { |
|
361 namespaceid = 0; |
|
362 pkid = 5; |
|
363 name = "AnchorLastSyncProxyID"; |
|
364 datatype = 0x0000000A; |
|
365 getset = 0x01; |
|
366 formflag = 0x00; |
|
367 }, |
|
368 |
|
369 SVC_PROPERTY |
|
370 { |
|
371 namespaceid = 0; |
|
372 pkid = 6; |
|
373 name = "AnchorCurrentAnchor"; |
|
374 datatype = 0x0000400A; |
|
375 getset = 0x01; |
|
376 formflag = 0x00; |
|
377 }, |
|
378 SVC_PROPERTY |
|
379 { |
|
380 namespaceid = 0; |
|
381 pkid = 7; |
|
382 name = "AnchorProviderVersion"; |
|
383 datatype = 0x00000006; |
|
384 getset = 0x00; |
|
385 formflag = 0x00; |
|
386 }, |
|
387 |
|
388 SVC_PROPERTY |
|
389 { |
|
390 namespaceid = 1; |
|
391 pkid = 2; |
|
392 name = "SyncFormat"; |
|
393 datatype = 0x0000000A; |
|
394 getset = 0x00; |
|
395 formflag = 0x00; |
|
396 }, |
|
397 |
|
398 SVC_PROPERTY |
|
399 { |
|
400 namespaceid = 1; |
|
401 pkid = 3; |
|
402 name = "LocalOnlyDelete"; |
|
403 datatype = 0x00000002; |
|
404 getset = 0x01; |
|
405 formflag = 0x02; |
|
406 }, |
|
407 |
|
408 SVC_PROPERTY |
|
409 { |
|
410 namespaceid = 1; |
|
411 pkid = 4; |
|
412 name = "FilterType"; |
|
413 datatype = 0x00000002; |
|
414 getset = 0x01; |
|
415 formflag = 0x00; |
|
416 }, |
|
417 |
|
418 SVC_PROPERTY |
|
419 { |
|
420 namespaceid = 1; |
|
421 pkid = 5; |
|
422 name = "SyncObjectReferences"; |
|
423 datatype = 0x00000002; |
|
424 getset = 0x01; |
|
425 formflag = 0x02; |
|
426 } |
|
427 |
|
428 }; |
|
429 } |
|
430 |
|
431 //SVC_FORMAT.guid must not be duplicate |
|
432 RESOURCE ELEMENTSARRAY r_elements_anchorsync_formats |
|
433 { |
|
434 elements = |
|
435 { |
|
436 SVC_FORMAT |
|
437 { |
|
438 guid = { 0x37c550bc, 0xf2314727, 0xbbbc4cb3, 0x3a3f3ecd }; |
|
439 name = "AnchorKnowledge"; |
|
440 mimetype1 = ""; |
|
441 baseformatcode1 = 0; |
|
442 }, |
|
443 |
|
444 SVC_FORMAT |
|
445 { |
|
446 guid = { 0xf35527c1, 0xce4a487a, 0x9d299383, 0x3569321e }; |
|
447 name = "AnchorResults"; |
|
448 mimetype1 = ""; |
|
449 baseformatcode1 = 0; |
|
450 } |
|
451 }; |
|
452 } |
|
453 |
|
454 //SVC_METHOD.guid must not be duplicate |
|
455 RESOURCE ELEMENTSARRAY r_elements_anchorsync_methods |
|
456 { |
|
457 elements = |
|
458 { |
|
459 SVC_METHOD |
|
460 { |
|
461 guid = { 0x37c550bc, 0xf2314727, 0xbbbc4cb3, 0x3a3f3ecd }; |
|
462 name = "GetChangesSinceAnchor"; |
|
463 obj_ass_formatcode1 = 0; |
|
464 }, |
|
465 |
|
466 SVC_METHOD |
|
467 { |
|
468 guid = { 0x63803e07, 0xc71345d3, 0x81193479, 0xb31d3592 }; |
|
469 name = "BeginSync"; |
|
470 obj_ass_formatcode1 = 0; |
|
471 }, |
|
472 |
|
473 SVC_METHOD |
|
474 { |
|
475 guid = { 0x40f3f0f7, 0xa539422e, 0x98ddfd8d, 0x385c8849 }; |
|
476 name = "EndSync"; |
|
477 obj_ass_formatcode1 = 0; |
|
478 } |
|
479 }; |
|
480 } |
|
481 |
|
482 //SVC_EVENT.guid must not be duplicate |
|
483 RESOURCE ELEMENTSARRAY r_elements_anchorsync_events |
|
484 { |
|
485 elements = |
|
486 { |
|
487 // SVC_EVENT |
|
488 // { |
|
489 // datacode = 0xC303 ; |
|
490 // guid = { 0, 0, 0, 0 }; |
|
491 // name = "ServicePropChanged"; |
|
492 // }, |
|
493 // |
|
494 // SVC_EVENT |
|
495 // { |
|
496 // datacode = 0xC304; |
|
497 // guid = { 0, 0, 0, 1 }; |
|
498 // name = "MethodComplete"; |
|
499 // } |
|
500 }; |
|
501 } |
|
502 |
|
503 //SVC_GUID must not be duplicate |
|
504 RESOURCE ELEMENTSARRAY r_elements_anchorsync_datablock |
|
505 { |
|
506 elements = |
|
507 { |
|
508 // SVC_GUID |
|
509 // { |
|
510 // } |
|
511 |
|
512 }; |
|
513 } |
|
514 |
|
515 //---------------End ----------Full Sync Service-------------------------------------------------------------------------------------------------- |
|
516 |
|
517 |