Added few more states for SyncState

These sync states are used mainly for remote sync servers

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
Fixed the login in lastSuccessfulSyncTime to return the latest sync times

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
QThread::terminate() method is not available in Qt5. #ifdef'd it

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
Implementation of the tool to create a template for a buteo plugin

This is the first cut implementation of a tool that helps create a buteo
sync plugin. The user has to be provide few settings for the plugin
that are provided as part of [client,server,storage]-plugin.cfg. Once the
config file is filled, the tool can be used by running the
'gen_template.py client-plugin.cfg' for a client plugin. This will
generate the complete structure of the plugin after which the developer can
make the necessary modifications to suit their needs. This tool makes use of
'Cheetah' templating library in python and can be installed in Ubuntu using
'sudo apt-get install python-cheetah'

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
Patch to generate the classes for the client plugin

Added functionality to generate classes for the client plugin. Added
template files for server and storage plugin. Next step is to add
functionality to generate server and storage plugin code and also the
profile xml files

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
Added support for generating sync profile xml files

With this patch sync profile xml files can be generated. Next step is to
generate the storage profile as well as the agent profiles

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
[usb] Make usb-moded support easily selectable by adding CONFIG+=usb-moded