diff options
author | Tobias Fella <fella@posteo.de> | 2021-08-31 15:06:46 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-08-31 15:06:46 +0200 |
commit | e2de07628f61c565ac8c85fa3aae84a5fa6feba3 (patch) | |
tree | c1f1b1282429057465b97fcf2866ebbc8053829a /lib/util.h | |
parent | 06a8ef6ebed5962117121486059ba46dc7f6d4f9 (diff) | |
download | libquotient-e2de07628f61c565ac8c85fa3aae84a5fa6feba3.tar.gz libquotient-e2de07628f61c565ac8c85fa3aae84a5fa6feba3.zip |
Add functions and macros to query for Quotient's version
Diffstat (limited to 'lib/util.h')
-rw-r--r-- | lib/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -318,4 +318,9 @@ qreal stringToHueF(const QString& s); /** Extract the serverpart from MXID */ QString serverPart(const QString& mxId); + +QString versionString(); +int majorVersion(); +int minorVersion(); +int patchVersion(); } // namespace Quotient |