mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
bef15edf0b
* Replace by std::to_string and operator+ where possible. * Move the code requiring to include <sstream> from .hpp to .cpp files.
24 lines
379 B
C++
24 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
|