> The key also contains the source names, which are not integers. Have a > look at the status.ini file content to get an idea what is expected in > the hash. A good reference. I'd like to use keys similar to 'source-addressbook-stat-local-any-sent'. For value, I'll directly convert integer to string currently. Jussi, since UI will use this, do you think it is ok?
Cheers, Yongsheng -----Original Message----- From: Ohly, Patrick Sent: Tuesday, September 22, 2009 7:08 PM To: Zhu, Yongsheng Cc: Jussi Kukkonen; SyncEvolution Subject: Re: D-Bus API: about getReports (was: syncevo-dbus-server implementation) On Tue, 2009-09-22 at 10:38 +0100, Zhu, Yongsheng wrote: > To get report, three enum values are provided to retrieve: ItemLocation, > ItemState and ItemResult. The key also contains the source names, which are not integers. Have a look at the status.ini file content to get an idea what is expected in the hash. > And the retrieved result is also an integer. Only at the moment. We might want to add values which are strings later on, without breaking the API. -- 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. _______________________________________________ SyncEvolution mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution
