1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00
OpenMW/components/version/version.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
558 B
C++
Raw Normal View History

#ifndef VERSION_HPP
#define VERSION_HPP
2023-08-31 18:55:28 +00:00
#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();
2023-08-31 18:55:28 +00:00
bool checkResourcesVersion(const std::filesystem::path& resourcePath);
std::string_view getDocumentationUrl();
}
#endif // VERSION_HPP