You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/components/version/version.hpp

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