From 498225debdb22d83e591635dbd172cca12476279 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 25 Feb 2013 13:24:46 -0600 Subject: Rewrote the settings system. It may still need some work. --- data/version.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'data/version.h') diff --git a/data/version.h b/data/version.h index 321b1680..d5d276db 100644 --- a/data/version.h +++ b/data/version.h @@ -18,6 +18,9 @@ #include +/*! + * \brief The Version class represents a MultiMC version number. + */ class Version : public QObject { Q_OBJECT @@ -27,11 +30,35 @@ public: Version(const Version& ver); + /*! + * \brief Converts the Version to a string. + * \return The version number in string format (major.minor.revision.build). + */ QString toString() const; + /*! + * \brief The major version number. + * For MultiMC 5, this will always be 5. + */ int major; + + /*! + * \brief The minor version number. + * This number is incremented when major features are added. + */ int minor; + + /*! + * \brief The revision number. + * This number is incremented for bugfixes and small features. + */ int revision; + + /*! + * \brief The build number. + * This number is automatically set by Jenkins. It is incremented every time + * a new build is run. + */ int build; static Version current; -- cgit v1.2.3