|
|
|
@ -159,12 +159,12 @@ public:
|
|
|
|
|
|
|
|
|
|
std::string getString();
|
|
|
|
|
|
|
|
|
|
unsigned int getVersion();
|
|
|
|
|
unsigned int getUserVersion();
|
|
|
|
|
unsigned int getBethVersion();
|
|
|
|
|
unsigned int getVersion() const;
|
|
|
|
|
unsigned int getUserVersion() const;
|
|
|
|
|
unsigned int getBethVersion() const;
|
|
|
|
|
|
|
|
|
|
// Convert human-readable version numbers into a number that can be compared.
|
|
|
|
|
uint32_t generateVersion(uint8_t major, uint8_t minor, uint8_t patch, uint8_t rev)
|
|
|
|
|
static constexpr uint32_t generateVersion(uint8_t major, uint8_t minor, uint8_t patch, uint8_t rev)
|
|
|
|
|
{
|
|
|
|
|
return (major << 24) + (minor << 16) + (patch << 8) + rev;
|
|
|
|
|
}
|
|
|
|
|