athena/include/Athena/ZQuestFileReader.hpp

63 lines
1.4 KiB
C++
Raw Normal View History

#ifndef ATHENA_NO_ZQUEST
2014-04-20 09:14:15 +00:00
// This file is part of libAthena.
//
2014-04-20 09:14:15 +00:00
// libAthena is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
2014-04-20 09:14:15 +00:00
// libAthena is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
2014-04-20 09:14:15 +00:00
// along with libAthena. If not, see <http://www.gnu.org/licenses/>
#ifndef __ZQUESTFILEREADER_HPP__
#define __ZQUESTFILEREADER_HPP__
2013-07-21 03:51:26 +00:00
#include "Athena/BinaryReader.hpp"
2013-07-21 03:51:26 +00:00
2014-04-20 09:14:15 +00:00
namespace Athena
2013-07-21 03:51:26 +00:00
{
class ZQuestFile;
namespace io
{
2013-07-21 03:51:26 +00:00
/*!
* \brief The ZQuestFileReader class
*/
class ZQuestFileReader : protected BinaryReader
2013-07-21 03:51:26 +00:00
{
2014-06-03 03:09:40 +00:00
BINARYREADER_BASE();
public:
/*!
* \brief ZQuestFileReader
* \param data
* \param length
*/
ZQuestFileReader(atUint8* data, atUint64 length);
/*!
* \brief ZQuestFileReader
* \param filename
*/
2013-07-21 03:51:26 +00:00
ZQuestFileReader(const std::string& filename);
/*!
* \brief read
* \return
*/
ZQuestFile* read();
2013-07-21 03:51:26 +00:00
};
} // io
2013-07-21 03:51:26 +00:00
} // zelda
#endif // __ZQUESTFILEREADER_HPP__
#endif // ATHENA_NO_ZQUEST