mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 12:20:41 +00:00
24 lines
380 B
C++
24 lines
380 B
C++
|
#ifndef COMPONENT_ESM_FORMAT_H
|
||
|
#define COMPONENT_ESM_FORMAT_H
|
||
|
|
||
|
#include "defs.hpp"
|
||
|
|
||
|
#include <cstdint>
|
||
|
#include <istream>
|
||
|
#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
|