mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 09:15:38 +00:00
25 lines
456 B
C++
25 lines
456 B
C++
#ifndef OPENMW_COMPONENTS_BGSM_READER_HPP
|
|
#define OPENMW_COMPONENTS_BGSM_READER_HPP
|
|
|
|
#include <atomic>
|
|
#include <cstdint>
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
#include <components/files/istreamptr.hpp>
|
|
|
|
#include "file.hpp"
|
|
|
|
namespace Bgsm
|
|
{
|
|
class Reader
|
|
{
|
|
std::unique_ptr<MaterialFile> mFile;
|
|
|
|
public:
|
|
void parse(Files::IStreamPtr&& stream);
|
|
|
|
std::uint32_t getVersion() const { return mFile->mVersion; }
|
|
};
|
|
}
|
|
#endif
|