1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00
OpenMW/components/version/version.hpp
2023-08-31 20:56:02 +02:00

22 lines
473 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();
// Prepares string that contains version and commit hash.
std::string getOpenmwVersionDescription();
bool checkResourcesVersion(const std::filesystem::path& resourcePath);
}
#endif // VERSION_HPP