22#ifndef OOPSERVERPLUGIN_H
23#define OOPSERVERPLUGIN_H
25#include <ServerPlugin.h>
50 virtual void connectivityStateChanged(Sync::ConnectivityType aType,
bool aState);
52 void onProcessError(QProcess::ProcessError
error);
54 void onProcessFinished(
int exitCode, QProcess::ExitStatus exitStatus);
56 void onError(QString aProfileName, QString aMessage,
int aErrorCode);
58 void onSuccess(QString aProfileName, QString aMessage);
Definition OOPServerPlugin.h:30
virtual bool uninit()
Uninitializes the plugin.
Definition OOPServerPlugin.cpp:102
virtual void resume()
Resume suspended activity.
Definition OOPServerPlugin.cpp:150
virtual void suspend()
Suspend activity.
Definition OOPServerPlugin.cpp:140
virtual bool cleanUp()
Cleans up any sync related stuff (e.g sync anchors etc) when the profile is deleted.
Definition OOPServerPlugin.cpp:160
virtual void stopListen()
Stop listening for sync requests.
Definition OOPServerPlugin.cpp:130
virtual bool startListen()
Start listening for sync requests.
Definition OOPServerPlugin.cpp:116
virtual bool init()
Initializes the plugin.
Definition OOPServerPlugin.cpp:88
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
Base class for server plugins.
Definition ServerPlugin.h:37
void error(const QString &aProfileName, const QString &aMessage, SyncResults::MinorCode aErrorCode)
Emitted when error has occurred in synchronization and it cannot be continued.
Definition moc_SyncPluginBase.cpp:228