X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fglobal.h;h=65d11109b6b59bfd017a6b1dd74e54040e6e961a;hp=0759c27e28aa365fc34adbd26ea2f85fe92c9730;hb=ce629c1db1216f2050c2864f244f409836298d25;hpb=0ef2797c935b8cba29b667da150c8ab9117b0647 diff --git a/src/common/global.h b/src/common/global.h index 0759c27e..65d11109 100644 --- a/src/common/global.h +++ b/src/common/global.h @@ -33,16 +33,14 @@ namespace Global { extern QString quasselVersion; - extern QString quasselDate; - extern uint quasselBuild; + extern QString quasselBaseVersion; + extern QString quasselBuildDate; + extern uint protocolVersion; - //! Minimum client build number the core needs - extern uint clientBuildNeeded; - extern QString clientVersionNeeded; + extern uint clientNeedsProtocol; //< Minimum protocol version the client needs + extern uint coreNeedsProtocol; //< Minimum protocol version the core needs - //! Minimum core build number the client needs - extern uint coreBuildNeeded; - extern QString coreVersionNeeded; + extern QString quasselGeneratedVersion; //< This is possibly set in version.gen // We need different config (QSettings) files for client and gui, since the core cannot work with GUI types // Set these here. They're used in ClientSettings and CoreSettings. @@ -56,6 +54,7 @@ namespace Global { extern bool DEBUG; void registerMetaTypes(); + void setupVersion(); }; #endif