1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 12:32:36 +00:00
OpenMW/components/version/version.hpp

23 lines
513 B
C++
Raw Normal View History

#ifndef VERSION_HPP
#define VERSION_HPP
2023-08-31 20:55:28 +02:00
#include <filesystem>
2022-09-22 21:26:05 +03:00
#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();
2023-08-31 20:55:28 +02:00
bool checkResourcesVersion(const std::filesystem::path& resourcePath);
}
#endif // VERSION_HPP