mirror of https://github.com/libAthena/athena.git
25 lines
430 B
C++
25 lines
430 B
C++
#ifndef SSFILEWRITER_HPP
|
|
#define SSFILEWRITER_HPP
|
|
|
|
#include "Athena/MemoryWriter.hpp"
|
|
|
|
namespace Athena
|
|
{
|
|
class SkywardSwordFile;
|
|
|
|
namespace io
|
|
{
|
|
|
|
class SkywardSwordFileWriter : public MemoryCopyWriter
|
|
{
|
|
MEMORYCOPYWRITER_BASE();
|
|
public:
|
|
SkywardSwordFileWriter(atUint8* data, atUint64 len);
|
|
SkywardSwordFileWriter(const std::string& filename);
|
|
|
|
void write(SkywardSwordFile* file);
|
|
};
|
|
}
|
|
}
|
|
#endif // SSFILEWRITER_HPP
|