X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fquassel.h;h=952f8fa8513e7381a86b1a7031f9d6c966c5f7a0;hb=957c473ed82455969dde581036afcf8d8c58e156;hp=135e8b5c4e5400e1a5c9e7a1d625cb4d2a5eb5ce;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/common/quassel.h b/src/common/quassel.h index 135e8b5c..952f8fa8 100644 --- a/src/common/quassel.h +++ b/src/common/quassel.h @@ -111,7 +111,11 @@ public: * * 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, @@ -127,6 +131,14 @@ public: 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 + SyncedCoreInfo, ///< CoreInfo dynamically updated using signals }; Q_ENUMS(Feature)