mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 22:56:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 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
 |