2018-10-07 03:37:09 +00:00
|
|
|
#pragma once
|
2014-04-20 09:14:15 +00:00
|
|
|
|
2016-03-04 23:00:12 +00:00
|
|
|
#include "athena/MemoryWriter.hpp"
|
2014-04-20 09:14:15 +00:00
|
|
|
|
2018-12-08 05:18:17 +00:00
|
|
|
namespace athena {
|
2014-04-20 09:14:15 +00:00
|
|
|
class SkywardSwordFile;
|
|
|
|
|
2018-12-08 05:18:17 +00:00
|
|
|
namespace io {
|
2014-04-20 09:14:15 +00:00
|
|
|
|
2018-12-08 05:18:17 +00:00
|
|
|
class SkywardSwordFileWriter : public MemoryCopyWriter {
|
2014-04-20 09:14:15 +00:00
|
|
|
public:
|
2018-12-08 05:18:17 +00:00
|
|
|
SkywardSwordFileWriter(atUint8* data, atUint64 len);
|
|
|
|
SkywardSwordFileWriter(const std::string& filename);
|
2014-04-20 09:14:15 +00:00
|
|
|
|
2018-12-08 05:18:17 +00:00
|
|
|
void write(SkywardSwordFile* file);
|
2014-04-20 09:14:15 +00:00
|
|
|
};
|
2018-12-08 05:18:17 +00:00
|
|
|
} // namespace io
|
|
|
|
} // namespace athena
|