123456789101112 |
- #ifndef _MY_ZIP_H_
- #define _MY_ZIP_H_
- #include <iostream>
- #include <vector>
- #include <string>
- namespace MyZip{
- std::pair<bool, std::string> ZipDir(const std::string &dstFile, const std::string &srcDir, void *hz = NULL);
- std::pair<bool, std::string> ZipVector(const std::string &dstFile, const std::vector<std::string> &srcArr);
- }
- #endif
|