8 #include <QDBusConnection>
13 namespace swift::misc::shared_state::dbus
20 if (proxy) {
return new CHubProxy(connection, service, parent); }
21 else {
return new CHub(server, parent); }
Server side implementation of IHub.
Client side implementation of IHub.
Abstract interface for the hub in a star topology.
static IHub * create(bool proxy, CDBusServer *server, const QDBusConnection &connection, const QString &service, QObject *parent=nullptr)
Construct a new hub.
IHub(QObject *parent=nullptr)
Constructor.