mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 16:26:38 +00:00 
			
		
		
		
	* Replace by std::to_string and operator+ where possible. * Move the code requiring to include <sstream> from .hpp to .cpp files.
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			379 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			379 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef COMPONENT_ESM_FORMAT_H
 | |
| #define COMPONENT_ESM_FORMAT_H
 | |
| 
 | |
| #include "defs.hpp"
 | |
| 
 | |
| #include <cstdint>
 | |
| #include <iosfwd>
 | |
| #include <string_view>
 | |
| 
 | |
| namespace ESM
 | |
| {
 | |
|     enum class Format : std::uint32_t
 | |
|     {
 | |
|         Tes3 = fourCC("TES3"),
 | |
|         Tes4 = fourCC("TES4"),
 | |
|     };
 | |
| 
 | |
|     Format readFormat(std::istream& stream);
 | |
| 
 | |
|     Format parseFormat(std::string_view value);
 | |
| }
 | |
| 
 | |
| #endif
 |