X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fquassel.h;h=21aaec77834cc32d7d797b76daebd08548169601;hb=e90ec7aa079d9e821ffbb125ef42722a2dededcf;hp=ba883b0b9f865d05c167ceee94417c1fff1fb34b;hpb=620cd1aa35e05099b3f84400dd33afc207c98244;p=quassel.git diff --git a/src/common/quassel.h b/src/common/quassel.h index ba883b0b..21aaec77 100644 --- a/src/common/quassel.h +++ b/src/common/quassel.h @@ -71,10 +71,17 @@ public: SaslExternal = 0x0004, HideInactiveNetworks = 0x0008, PasswordChange = 0x0010, - - NumFeatures = 0x0010 + CapNegotiation = 0x0020, /// IRCv3 capability negotiation, account tracking + VerifyServerSSL = 0x0040, /// IRC server SSL validation + CustomRateLimits = 0x0080, /// IRC server custom message rate limits + DccFileTransfer = 0x0100, + AwayFormatTimestamp = 0x0200, /// Timestamp formatting in away (e.g. %%hh:mm%%) + Authenticators = 0x0400, /// Whether or not the core supports auth backends. + BufferActivitySync = 0x0800, /// Sync buffer activity status + + NumFeatures = 0x0800 }; - Q_DECLARE_FLAGS(Features, Feature); + Q_DECLARE_FLAGS(Features, Feature) //! The features the current version of Quassel supports (\sa Feature) /** \return An ORed list of all enum values in Feature @@ -142,6 +149,16 @@ protected: virtual bool init(); virtual void quit(); + /** + * Requests a reload of relevant runtime configuration. + * + * Does not reload all configuration, but could catch things such as SSL certificates. Unless + * overridden, simply does nothing. + * + * @return True if configuration reload successful, otherwise false + */ + virtual bool reloadConfig() { return true; } + inline void setRunMode(RunMode mode); inline void setDataDirPaths(const QStringList &paths); QStringList findDataDirPaths() const;