ButeoSynchronizationFramework
|
Class for running client sync plug-ins. More...
#include <ClientPluginRunner.h>
Public Member Functions | |
ClientPluginRunner (const QString &aPluginName, SyncProfile *aProfile, PluginManager *aPluginMgr, PluginCbInterface *aPluginCbIf, QObject *aParent=0) | |
Constructor. More... | |
virtual | ~ClientPluginRunner () |
Destructor. | |
virtual bool | init () |
virtual bool | start () |
virtual void | stop () |
virtual void | abort (Sync::SyncStatus aStatus=Sync::SYNC_ABORTED) |
virtual SyncResults | syncResults () |
virtual SyncPluginBase * | plugin () |
virtual bool | cleanUp () |
![]() | |
PluginRunner (PluginType aPluginType, const QString &aPluginName, PluginManager *aPluginMgr, PluginCbInterface *aPluginCbIf, QObject *aParent=0) | |
Constructor. More... | |
PluginType | pluginType () const |
Gets the plug-in type. More... | |
QString | pluginName () const |
Gets the plug-in name. More... | |
Additional Inherited Members | |
![]() | |
enum | PluginType { PLUGIN_CLIENT, PLUGIN_SERVER } |
Plug-in type: client or server. | |
![]() | |
void | transferProgress (const QString &aProfileName, Sync::TransferDatabase aDatabase, Sync::TransferType aType, const QString &aMimeType, int aCommittedItems) |
void | error (const QString &aProfileName, const QString &aMessage, int aErrorCode) |
void | success (const QString &aProfileName, const QString &aMessage) |
void | storageAccquired (const QString &aMimeType) |
void | syncProgressDetail (const QString &aProfileName, int aProgressDetail) |
void | done () |
Signal sent when the plug-in runner has finished. More... | |
void | newSession (const QString &aDestination) |
void | connectivityStateChanged (Sync::ConnectivityType aType, bool aState) |
![]() | |
bool | iInitialized |
Initialization status of the plugin. | |
PluginManager * | iPluginMgr |
pointer to an instance of plugin manager | |
PluginCbInterface * | iPluginCbIf |
pointer to an instance of synchronizer | |
PluginType | iType |
type of the plugin | |
QString | iPluginName |
name of the plugin | |
Class for running client sync plug-ins.
ClientPluginRunner::ClientPluginRunner | ( | const QString & | aPluginName, |
SyncProfile * | aProfile, | ||
PluginManager * | aPluginMgr, | ||
PluginCbInterface * | aPluginCbIf, | ||
QObject * | aParent = 0 |
||
) |
Constructor.
aPluginName | Name of the plug-in to run |
aProfile | Sync profile for the client plug-in. Ownership is NOT transferred. |
aPluginMgr | PluginManager instance for creating and destroying plug-ins by name |
aPluginCbIf | Callback interface that the created plug-in can use |
aParent | Parent object |
|
virtual |
Implements Buteo::PluginRunner.
|
virtual |
Implements Buteo::PluginRunner.
|
virtual |
Implements Buteo::PluginRunner.
|
virtual |
Implements Buteo::PluginRunner.
|
virtual |
Implements Buteo::PluginRunner.
|
virtual |
Implements Buteo::PluginRunner.
|
virtual |
Implements Buteo::PluginRunner.