|
From: Henrik /K. <kaa...@us...> - 2009-10-20 21:42:25
|
Daniel Gollub wrote: > 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 > > Makes perfect sense! Thanks for the explanation! |