34 lines
714 B
C++
34 lines
714 B
C++
/*
|
|
# _____ ____ ___
|
|
# | \/ ____| |___|
|
|
# | | | \ | |
|
|
#-----------------------------------------------------------------------
|
|
# Copyright 2022, tyra - https://github.com/h4570/tyra
|
|
# Licensed under Apache License 2.0
|
|
# André Guilherme <andregui17@outlook.com>
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <tamtypes.h>
|
|
#include <string>
|
|
|
|
namespace Tyra {
|
|
|
|
class Version {
|
|
public:
|
|
Version() {}
|
|
~Version() {}
|
|
|
|
static const u8 major = 2;
|
|
static const u8 minor = 1;
|
|
static const u8 patch = 0;
|
|
|
|
static std::string toString() {
|
|
return std::to_string(major) + "." + std::to_string(minor) + "." +
|
|
std::to_string(patch);
|
|
}
|
|
};
|
|
|
|
} // namespace Tyra
|