diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-07-02 21:14:34 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:20:21 +0300 |
commit | f65c4fef950feb2f5f280e769bb06f108e1fa6d2 (patch) | |
tree | 0241c23f42951e02b37cea22e3631dd019581ed9 /coding/zip_reader.hpp | |
parent | f2f968c546009462418c2e87e3c1c93c3d92e350 (diff) |
Added zip reader support (only works with non-compressed files)
Diffstat (limited to 'coding/zip_reader.hpp')
-rw-r--r-- | coding/zip_reader.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/coding/zip_reader.hpp b/coding/zip_reader.hpp new file mode 100644 index 0000000000..4a56ded689 --- /dev/null +++ b/coding/zip_reader.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include "file_reader.hpp" + +#include "../base/exception.hpp" + +class ZipFileReader : public FileReader +{ + typedef FileReader base_type; + +public: + DECLARE_EXCEPTION(OpenZipException, OpenException); + DECLARE_EXCEPTION(LocateZipException, OpenException); + DECLARE_EXCEPTION(InvalidZipException, OpenException); + + ZipFileReader(string const & container, string const & file); +}; |