#pragma once
+#include "common-export.h"
+
#include <QEvent>
#include <QSet>
class Peer;
class SyncableObject;
-class SignalProxy : public QObject
+class COMMON_EXPORT SignalProxy : public QObject
{
Q_OBJECT
void dumpProxyStats();
void dumpSyncMap(SyncableObject *object);
- static SignalProxy *current() {
- return _current;
- }
+ static SignalProxy *current();
/**@{*/
/**
Peer *_sourcePeer = nullptr;
Peer *_targetPeer = nullptr;
- thread_local static SignalProxy *_current;
-
friend class SignalRelay;
friend class SyncableObject;
friend class Peer;