Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Gorshenin <y@maps.me>2016-05-10 15:24:46 +0300
committerYuri Gorshenin <y@maps.me>2016-05-10 15:37:41 +0300
commit18287be1dbd25e98d3ac59e13a86687c5e697605 (patch)
tree0e0ed21893a75a3d3487c96a8bf8cdc9424855b4 /coding/zip_reader.hpp
parent9375997212876b739a713dd49caf99821be8466d (diff)
[coding] Fixes to SRTM parser CL.
Diffstat (limited to 'coding/zip_reader.hpp')
-rw-r--r--coding/zip_reader.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/coding/zip_reader.hpp b/coding/zip_reader.hpp
index 6c36693df4..7970cff087 100644
--- a/coding/zip_reader.hpp
+++ b/coding/zip_reader.hpp
@@ -32,8 +32,10 @@ public:
static void UnzipFile(string const & zipContainer, string const & fileInZip,
string const & outFilePath, ProgressFn progressFn = ProgressFn());
- /// @warning Counsumer must manually free result
- static char* UnzipFileToMemory(string const & zipContainer, string const & fileInZip);
+ /// Unzips |file| in |cont| to |buffer|.
+ ///
+ /// @warning Can throw OpenZipException and LocateZipException.
+ static void UnzipFileToMemory(string const & cont, string const & file, vector<char> & data);
static void FilesList(string const & zipContainer, FileListT & filesList);