|
From: Henrik /K. <he...@ka...> - 2009-11-12 15:27:16
|
Daniel Gollub wrote: > [...] > Close, try get_sync_info(). get_sync_info() get called when all the plugins > get loaded: > > e.g. osynctool --listplugins > > Perfect example would be the SyncML plugin. It's registering 4 plugins in one > get_version() call... > > [...] > > This is what i try suggested some weeks ago to spawn several plugins for the > mozilla-sync to avoid that user have to set the external_command by their own. > > It's just about registering some OSyncPlugin* to OSyncPluginEnv ... even if > those are the same shared-module or so. > Thank you very much for the explanation! I am aware that I can create several plugins; but I was thinking that maybe there was a way to version plugins / plugin configurations. But from the answer I understand that this is not the case, so I will just create two plugins (the new one probably named mozilla-sync-3). (As mozilla-sync is now a pure external plugin it will be with two xml files, not get_sync_info() ). /Henrik |