diff options
author | Marc Laukien <marc@zeroc.com> | 2004-12-06 21:00:28 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-12-06 21:00:28 +0000 |
commit | d0be319d1296891a164b7f62d3917024f43f5399 (patch) | |
tree | 832fc4f21223778a745cfdf124c9969f73377164 /cpp/include/IcePatch2/Util.h | |
parent | fixes (diff) | |
download | ice-d0be319d1296891a164b7f62d3917024f43f5399.tar.bz2 ice-d0be319d1296891a164b7f62d3917024f43f5399.tar.xz ice-d0be319d1296891a164b7f62d3917024f43f5399.zip |
patcher enhancements
Diffstat (limited to 'cpp/include/IcePatch2/Util.h')
-rw-r--r-- | cpp/include/IcePatch2/Util.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/cpp/include/IcePatch2/Util.h b/cpp/include/IcePatch2/Util.h index 32ab7ed4a92..ac899b3e6e4 100644 --- a/cpp/include/IcePatch2/Util.h +++ b/cpp/include/IcePatch2/Util.h @@ -103,7 +103,18 @@ struct FileInfoLess: public std::binary_function<const FileInfo&, const FileInfo } }; -ICE_PATCH2_API void getFileInfoSeq(const std::string&, FileInfoSeq&, bool, bool, bool); +class ICE_PATCH2_API GetFileInfoSeqCB +{ +public: + + virtual ~GetFileInfoSeqCB() { } + + virtual bool remove(const std::string&) = 0; + virtual bool checksum(const std::string&) = 0; + virtual bool compress(const std::string&) = 0; +}; + +ICE_PATCH2_API bool getFileInfoSeq(const std::string&, int mode, GetFileInfoSeqCB*, FileInfoSeq&); ICE_PATCH2_API void saveFileInfoSeq(const std::string&, const FileInfoSeq&); ICE_PATCH2_API void loadFileInfoSeq(const std::string&, FileInfoSeq&); |