24#ifndef SERVERACTIVATOR_H_
25#define SERVERACTIVATOR_H_
27#include "TransportTracker.h"
28#include "ProfileManager.h"
72 int addRef(
const QString &aServerName,
bool emitSignal =
true);
82 int removeRef(
const QString &aServerName,
bool emitSignal =
true);
117 ServerData() : iRefCount(0) { }
124#ifdef SYNCFW_UNIT_TESTS
125 friend class ServerActivatorTest;
ProfileManager is responsible for storing and retrieving the profiles.
Definition ProfileManager.h:46
This class represents a single profile, a collection of settings or data releated to some entity.
Definition Profile.h:53
Keeps track of which server plug-ins should be enabled.
Definition ServerActivator.h:48
int addRef(const QString &aServerName, bool emitSignal=true)
Adds a reference to the given server.
Definition ServerActivator.cpp:90
virtual ~ServerActivator()
Destructor.
Definition ServerActivator.cpp:85
void serverDisabled(const QString &aServerName)
Signal emitted when a server should be disabled.
Definition moc_ServerActivator.cpp:224
QStringList enabledServers() const
Gets the list of enabled server.
Definition ServerActivator.cpp:128
void onConnectivityStateChanged(Sync::ConnectivityType aType, bool aState)
Called when transport state changes.
Definition ServerActivator.cpp:142
int removeRef(const QString &aServerName, bool emitSignal=true)
Removes a reference from the given server.
Definition ServerActivator.cpp:107
void serverEnabled(const QString &aServerName)
Signal emitted when a server should be enabled.
Definition moc_ServerActivator.cpp:217
Class for tracking transport states.
Definition TransportTracker.h:52
Definition SyncBackupAdaptor.h:41