23#ifndef SERVERPLUGIN_H_4399340943904399349843
24#define SERVERPLUGIN_H_4399340943904399349843
26#include "SyncPluginBase.h"
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
virtual void suspend()=0
Suspend activity.
void newSession(const QString &aDestination)
Signal sent when a new sync session is received by the server.
Definition: moc_ServerPlugin.cpp:130
ServerPlugin(const QString &aPluginName, const Profile &aProfile, PluginCbInterface *aCbInterface)
Constructor.
Definition: ServerPlugin.cpp:27
Profile iProfile
Profile Object that the server plugin operates on.
Definition: ServerPlugin.h:91
virtual bool startListen()=0
Start listening for sync requests.
virtual void resume()=0
Resume suspended activity.
virtual void stopListen()=0
Stop listening for sync requests.
virtual ~ServerPlugin()
Destructor.
Definition: ServerPlugin.cpp:35
Base class for client and server plugins.
Definition: SyncPluginBase.h:46