* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef PROTOCOL_H_
-#define PROTOCOL_H_
+#pragma once
#include <QByteArray>
#include <QDateTime>
struct RegisterClient : public HandshakeMessage
{
- inline RegisterClient(const QString &clientVersion, const QString &buildDate, bool sslSupported = false, int32_t features = 0)
+ inline RegisterClient(const QString &clientVersion, const QString &buildDate, bool sslSupported = false, quint32 features = 0)
: clientVersion(clientVersion)
, buildDate(buildDate)
, sslSupported(sslSupported)
// this is only used by the LegacyProtocol in compat mode
bool sslSupported;
- int32_t clientFeatures;
+ quint32 clientFeatures;
};
};
-
-#endif