diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/include/modules.h b/include/modules.h index 3aa7a94ac..e9ada30ff 100644 --- a/include/modules.h +++ b/include/modules.h @@ -251,13 +251,17 @@ do { \ class CoreExport Version : public classbase { public: - /** Version numbers, build number, flags and API version - */ - const int Major, Minor, Revision, Build, Flags, API; + /** Version information. + */ + std::string version; + + /** Flags and API version + */ + const int Flags, API; - /** Initialize version class - */ - Version(int major, int minor, int revision, int build, int flags, int api_ver); + /** Initialize version class + */ + Version(const std::string &sversion, int flags, int api_ver); }; /** The ModuleMessage class is the base class of Request and Event |