athena/include/athena/ZQuestFileWriter.hpp

46 lines
775 B
C++

#ifndef ATHENA_NO_ZQUEST
#ifndef __ZQUESTFILEWRITER_HPP__
#define __ZQUESTFILEWRITER_HPP__
#include "athena/MemoryWriter.hpp"
namespace athena
{
class ZQuestFile;
namespace io
{
/*!
* \brief The ZQuestFileWriter class
*/
class ZQuestFileWriter : protected MemoryCopyWriter
{
public:
/*!
* \brief ZQuestFileWriter
* \param data
* \param length
*/
ZQuestFileWriter(atUint8* data, atUint64 length);
/*!
* \brief ZQuestFileWriter
* \param filename
*/
ZQuestFileWriter(const std::string& filename);
/*!
* \brief write
* \param quest
* \param compress
*/
void write(ZQuestFile* quest, bool compress = true);
};
} // io
} // zelda
#endif // __ZQUESTFILEWRITER_HPP__
#endif // ATHENA_NO_ZQUEST