22 #ifndef OOPSERVERPLUGIN_H 23 #define OOPSERVERPLUGIN_H 25 #include <ServerPlugin.h> 57 virtual void connectivityStateChanged( Sync::ConnectivityType aType,
59 void onProcessError(QProcess::ProcessError
error);
61 void onProcessFinished(
int exitCode, QProcess::ExitStatus exitStatus);
63 void onError(QString aProfileName, QString aMessage,
int aErrorCode);
65 void onSuccess(QString aProfileName, QString aMessage);
72 #endif // OOPSERVERPLUGIN_H This class represents a single profile, a collection of settings or data releated to some entity...
Definition: Profile.h:52
virtual void resume()
Resume suspended activity.
Definition: OOPServerPlugin.cpp:153
Definition: AccountsHelper.h:31
Definition: OOPServerPlugin.h:29
virtual bool startListen()
Start listening for sync requests.
Definition: OOPServerPlugin.cpp:119
virtual bool init()
Initializes the plugin.
Definition: OOPServerPlugin.cpp:91
Base class for server plugins.
Definition: ServerPlugin.h:36
virtual void suspend()
Suspend activity.
Definition: OOPServerPlugin.cpp:143
virtual bool cleanUp()
Cleans up any sync related stuff (e.g sync anchors etc) when the profile is deleted.
Definition: OOPServerPlugin.cpp:163
virtual void stopListen()
Stop listening for sync requests.
Definition: OOPServerPlugin.cpp:133
Interface which client and server plugins can use to communicate with synchronization daemon...
Definition: PluginCbInterface.h:38
void error(const QString &aProfileName, const QString &aMessage, int aErrorCode)
Emitted when error has occurred in synchronization and it cannot be continued.
Definition: moc_SyncPluginBase.cpp:220
virtual bool uninit()
Uninitializes the plugin.
Definition: OOPServerPlugin.cpp:105