mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 00:15:06 +00:00
25 lines
558 B
C++
25 lines
558 B
C++
#ifndef VERSION_HPP
|
|
#define VERSION_HPP
|
|
|
|
#include <filesystem>
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
namespace Version
|
|
{
|
|
std::string_view getVersion();
|
|
std::string_view getCommitHash();
|
|
std::string_view getTagHash();
|
|
int getLuaApiRevision();
|
|
int getPostprocessingApiRevision();
|
|
|
|
// Prepares string that contains version and commit hash.
|
|
std::string getOpenmwVersionDescription();
|
|
|
|
bool checkResourcesVersion(const std::filesystem::path& resourcePath);
|
|
|
|
std::string_view getDocumentationUrl();
|
|
}
|
|
|
|
#endif // VERSION_HPP
|