On Mo, 2011-09-05 at 12:39 +0530, Srinivasa Ragavan wrote:
Hello,
I'm writing a Evolution EPlugin for an Active Sync backend. Currently
it does only mail and for calendar & contacts it needs to depend on
syncevolution. Any doc/sample code on how I could create this
configuration externally? gconf/xml/configuration need to be setup?
The "right" way of doing it is via the D-Bus API:
http://api.syncevolution.org/
As a short-term hack it would also be possible to invoke the command
line tool for manipulating the configuration. But that will make it
harder to handle errors.
So in the API, see the GetConfig/SetConfig() calls. To understand how to
use the API, you also need to understand the SyncEvolution configuration
options (see "syncevolution --sync-property ?" and "syncevolution
--source-property ?") and a bit about the concepts behind the
configuration:
http://syncevolution.org/development/configuration-handling
There was a mail discussion about correct use of the API:
http://thread.gmane.org/gmane.comp.mobile.syncevolution/2468/focus=2499
Can you say a bit more about the kind of options that the Evolution
EPlugin shall offer? Then I can give more specific guidance.
Will there be a 1:1 match between an ActiveSync database and a local EDS
database? Note that currently listing the existing ActiveSync databases
is not supported; can be added.
I assume syncing will be done automatically by SyncEvolution (currently
based on polling, needs to be replaced with push by server and local
change detection, both not implemented yet)?
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.