/** * @author Edouard DUPIN * * @copyright 2011, Edouard DUPIN, all right reserved * * @license APACHE v2.0 (see license file) */ #ifndef __ETK_ARCHIVE_ZIP_H__ #define __ETK_ARCHIVE_ZIP_H__ #include #ifdef ETK_BUILD_MINIZIP extern "C" { #include } namespace etk { namespace archive { class Zip : public etk::Archive { private: unzFile m_ctx; //!< mini zip context unz_global_info m_info; //!< global information of the Zip public: Zip(const std::string& _fileName, uint64_t _offset = 0LL); virtual ~Zip(); protected: // herited functions : virtual void loadFile(const std::map::iterator& it); }; }; }; #endif #endif