|
From: Daniel G. <go...@b1...> - 2009-10-20 21:32:01
|
On Tuesday 20 October 2009 11:26:16 pm Henrik /KaarPoSoft wrote: > Just one follow-up question > The description.xml has much of the same info as the XXX_discover function. > Which is the preferred way of setting this? The xml file or the discover > function? > Ah - i forgot to mention this. you need both. In the discover() function you set information like the software version and stuff like that. OpenSync will later find the best fitting description file. The description winner's "<Reference>" will then choosen as reference for the capabilities file, which get used as the capabilities for this plugin/member/device ... In your case this looks pretty complex ... but this would allow you to support different version of mozilla-sync which might have different capabilities. e.g. due to bugs, or new features or so ... The many reason is actually for more general plugins to support different peers at the same time with compelelty different capabilities. Best Regards, Daniel -- Daniel Gollub Geschaeftsfuehrer: Ralph Dehner FOSS Developer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-160 47 73 970 Handelsregister: HRB 3537 EMail: go...@b1... http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xED14B95C2F8CA78D |