mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 00:15:06 +00:00
24 lines
396 B
C++
24 lines
396 B
C++
#ifndef COMPONENT_ESM_FORMAT_H
|
|
#define COMPONENT_ESM_FORMAT_H
|
|
|
|
#include "components/esm/fourcc.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
|