28#include <SyncResults.h>
85 void initError(
const QString &aProfileName,
const QString &aMessage,
95 mutable QMutex iMutex;
97#ifdef SYNCFW_UNIT_TESTS
98 friend class ServerThreadTest;
Base class for server plugins.
Definition ServerPlugin.h:37
Thread for server plugin.
Definition ServerThread.h:38
QString getProfileName() const
Returns profile that this thread is running.
Definition ServerThread.cpp:44
void stopThread()
Stops server thread.
Definition ServerThread.cpp:90
void initError(const QString &aProfileName, const QString &aMessage, SyncResults::MinorCode aErrorCode)
Emitted when synchronization cannot be started due to an error in plugin initialization.
Definition moc_ServerThread.cpp:134
bool startThread(ServerPlugin *aServerPlugin)
Starts server thread.
Definition ServerThread.cpp:64
virtual ~ServerThread()
Destructor.
Definition ServerThread.cpp:39
virtual void run()
overriding method of QThread::run
Definition ServerThread.cpp:96
ServerThread()
Constructor.
Definition ServerThread.cpp:32
ServerPlugin * getPlugin() const
Returns plugin that this thread is running.
Definition ServerThread.cpp:56
MinorCode
enum value
Definition SyncResults.h:89