X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.h;h=611ef847ae1b5382e63b8a9e89545b3b92b6cbf4;hp=01fb39534be732d124b914069228cfa7e0a2a906;hb=87bf901ae6387bc58e670a3adf88ffd7d465a281;hpb=39eb2fda3eaef2de78a8134556015ff86e9b85d4 diff --git a/src/common/syncableobject.h b/src/common/syncableobject.h index 01fb3953..611ef847 100644 --- a/src/common/syncableobject.h +++ b/src/common/syncableobject.h @@ -100,11 +100,12 @@ private: # define REQUEST(...) sync_call__(SignalProxy::Client, (__FUNCTION__ + _classNameOffset__) , __VA_ARGS__); #else # define SYNC(...) sync_call__(SignalProxy::Server, __func__, __VA_ARGS__); -# define SYNC_OTHER(x, ...) sync_call__(SignalProxy::Server, #x, __VA_ARGS__); # define REQUEST(...) sync_call__(SignalProxy::Client, __func__, __VA_ARGS__); -# define REQUEST_OTHER(x, ...) sync_call__(SignalProxy::Client, #x, __VA_ARGS__); #endif //Q_WS_WIN +#define SYNC_OTHER(x, ...) sync_call__(SignalProxy::Server, #x, __VA_ARGS__); +#define REQUEST_OTHER(x, ...) sync_call__(SignalProxy::Client, #x, __VA_ARGS__); + #define ARG(x) const_cast(reinterpret_cast(&x)) #define NO_ARG 0