arma_version.hpp | arma_version.hpp | |||
---|---|---|---|---|
skipping to change at line 23 | skipping to change at line 23 | |||
// of the License or (at your option) any later version. | // of the License or (at your option) any later version. | |||
// (see http://www.opensource.org/licenses for more info) | // (see http://www.opensource.org/licenses for more info) | |||
//! \addtogroup arma_version | //! \addtogroup arma_version | |||
//! @{ | //! @{ | |||
struct arma_version | struct arma_version | |||
{ | { | |||
static const unsigned int major = 0; | static const unsigned int major = 0; | |||
static const unsigned int minor = 9; | static const unsigned int minor = 9; | |||
static const unsigned int patch = 49; | static const unsigned int patch = 50; | |||
static | static | |||
inline | inline | |||
std::string | std::string | |||
as_string() | as_string() | |||
{ | { | |||
const char* nickname = "Flying Spaghetti Monster (beta)"; | const char* nickname = "Flying Spaghetti Monster"; | |||
// http://en.wikipedia.org/wiki/Flying_Spaghetti_Monster | // http://en.wikipedia.org/wiki/Flying_Spaghetti_Monster | |||
std::stringstream ss; | std::stringstream ss; | |||
ss << arma_version::major | ss << arma_version::major | |||
<< '.' | << '.' | |||
<< arma_version::minor | << arma_version::minor | |||
<< '.' | << '.' | |||
<< arma_version::patch | << arma_version::patch | |||
<< " (" | << " (" | |||
<< nickname | << nickname | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||