22#ifndef OOPSERVERPLUGIN_H
23#define OOPSERVERPLUGIN_H
25#include <ServerPlugin.h>
34 OOPServerPlugin(
const QString &aPluginName,
39 virtual ~OOPServerPlugin();
50 virtual void connectivityStateChanged(Sync::ConnectivityType aType,
bool aState);
52 void onProcessError(QProcess::ProcessError
error);
53 void onProcessFinished(
int exitCode, QProcess::ExitStatus exitStatus);
54 void onError(QString aProfileName, QString aMessage,
int aErrorCode);
55 void onSuccess(QString aProfileName, QString aMessage);
virtual bool uninit()
Uninitializes the plugin.
Definition OOPServerPlugin.cpp:98
virtual void resume()
Resume suspended activity.
Definition OOPServerPlugin.cpp:146
virtual void suspend()
Suspend activity.
Definition OOPServerPlugin.cpp:136
virtual bool cleanUp()
Cleans up any sync related stuff (e.g sync anchors etc) when the profile is deleted.
Definition OOPServerPlugin.cpp:156
virtual void stopListen()
Stop listening for sync requests.
Definition OOPServerPlugin.cpp:126
virtual bool startListen()
Start listening for sync requests.
Definition OOPServerPlugin.cpp:112
virtual bool init()
Initializes the plugin.
Definition OOPServerPlugin.cpp:84
Interface which client and server plugins can use to communicate with synchronization daemon.
Definition PluginCbInterface.h:39
This class represents a single profile, a collection of settings or data releated to some entity.
Definition Profile.h:53
ServerPlugin(const QString &aPluginName, const Profile &aProfile, PluginCbInterface *aCbInterface)
Constructor.
Definition ServerPlugin.cpp:28
void error(const QString &aProfileName, const QString &aMessage, SyncResults::MinorCode aErrorCode)
Emitted when error has occurred in synchronization and it cannot be continued.