On Donnerstag, 20. Juni 2013 10:52:05 CEST, David Lang wrote:
So please try and keep the addressbook plugin from being too Qt specific and make it be something that can support a simple use case like this or a simple local file.
Trojita uses Qt and the plugin interface will likely be the Qt one as well. This however does not somehow limit the plugin backend capabilities. It can link any other library or even call external processes to operate on those calls and act as a shim between eg. char* or std::string and QString on returning the result. The plugin even /can/ implement the async API synchronous (where an IMAP stored adressbook is however rather a suboptimal example for such ;-) Cheers, Thomas PS: the current implementation simply implements the abook[1] format - which is simple ini type plaintext. [1] http://abook.sourceforge.net/
