X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fprotocol.h;h=ad17e1799eb54948f27343bdea3b33da4b370ad2;hb=784fd31562f927647f3509fcb3fd9b463a4adc63;hp=8c2a6a6df472a81fe132c6965e0548454c1ce315;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/common/protocol.h b/src/common/protocol.h index 8c2a6a6d..ad17e179 100644 --- a/src/common/protocol.h +++ b/src/common/protocol.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -32,6 +32,8 @@ namespace Protocol { const quint32 magic = 0x42b33f00; +const quint32 proxyMagic = 0x50524f58; + enum Type { InternalProtocol = 0x00, @@ -206,12 +208,12 @@ struct SyncMessage : public SignalProxyMessage struct RpcCall : public SignalProxyMessage { RpcCall() = default; - RpcCall(QByteArray slotName, QVariantList params) - : slotName(std::move(slotName)) + RpcCall(QByteArray signalName, QVariantList params) + : signalName(std::move(signalName)) , params(std::move(params)) {} - QByteArray slotName; + QByteArray signalName; QVariantList params; };