mirror of
https://github.com/OpenMW/openmw.git
synced 2025-07-12 17:41:48 +00:00
22 lines
409 B
C++
22 lines
409 B
C++
#ifndef OPENMW_COMPONENTS_BGSM_READER_HPP
|
|
#define OPENMW_COMPONENTS_BGSM_READER_HPP
|
|
|
|
#include <memory>
|
|
|
|
#include <components/files/istreamptr.hpp>
|
|
|
|
#include "file.hpp"
|
|
|
|
namespace Bgsm
|
|
{
|
|
class Reader
|
|
{
|
|
std::unique_ptr<MaterialFile> mFile;
|
|
|
|
public:
|
|
void parse(Files::IStreamPtr&& stream);
|
|
|
|
std::unique_ptr<MaterialFile> getFile() { return std::move(mFile); }
|
|
};
|
|
}
|
|
#endif
|