On Mon, Sep 5, 2011 at 3:44 PM, Patrick Ohly <[email protected]> wrote: > On Mo, 2011-09-05 at 15:04 +0530, Srinivasa Ragavan wrote: >> On Mon, Sep 5, 2011 at 1:57 PM, Patrick Ohly <[email protected]> wrote: >> > 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. >> > >> >> I'll check both the options. If the DBus approach is complete & >> possible, I could try to do it that way. > > It is complete. Anything that can be done via the command line can also > be done via D-Bus. > >> So, this EPlugin is similar to any other Enterprise plugin >> (Groupwise/Exchange OWA/Exchange MAPI), which when a evolution mail >> account is created would create a corresponding calendar/contact >> configuration. Here for EAS, instead of creating a direct ESource, I'd >> create a SyncEvolution cfg to sync calendar & contacts. >> >> > >> > 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 probably didn;t understand it well. But I haven't looked any deep in >> to the ActiveSync, so can't really say. I'll dig more. > > Your question above answers it: yes, for each ActiveSync database there > will be a corresponding one locally using the EDS file backend. Your > plugin will have to manage that local database (creation, removal, ...).
Yes you are right -Srini. _______________________________________________ SyncEvolution mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution
