/***************************************************************************
- * Copyright (C) 2005-2016 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
*
* This list should be cleaned up after every protocol break, as we can assume them to be present then.
*/
- enum class Feature : quint32 {
+ #if QT_VERSION >= 0x050000
+ enum class Feature : uint32_t {
+ #else
+ enum Feature {
+ #endif
SynchronizedMarkerLine,
SaslAuthentication,
SaslExternal,
SenderPrefixes, ///< Show prefixes for senders in backlog
RemoteDisconnect, ///< Allow this peer to be remotely disconnected
ExtendedFeatures, ///< Extended features
+ LongTime, ///< Serialize time as 64-bit values
+ RichMessages, ///< Real Name and Avatar URL in backlog
+ BacklogFilterType, ///< BacklogManager supports filtering backlog by MessageType
+#if QT_VERSION >= 0x050500
+ EcdsaCertfpKeys, ///< ECDSA keys for CertFP in identities
+#endif
+ LongMessageId, ///< 64-bit IDs for messages
};
Q_ENUMS(Feature)