diff options
author | Marc Laukien <marc@zeroc.com> | 2004-11-29 22:33:00 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-11-29 22:33:00 +0000 |
commit | 03f393de70afff0068a274b76f649169ecf1a45d (patch) | |
tree | f6bd70e93409958acdb4e09adbd6de0940d7407c /cpp/include/IcePatch2/ClientUtil.h | |
parent | fixes (diff) | |
download | ice-03f393de70afff0068a274b76f649169ecf1a45d.tar.bz2 ice-03f393de70afff0068a274b76f649169ecf1a45d.tar.xz ice-03f393de70afff0068a274b76f649169ecf1a45d.zip |
fixes
Diffstat (limited to 'cpp/include/IcePatch2/ClientUtil.h')
-rwxr-xr-x | cpp/include/IcePatch2/ClientUtil.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/cpp/include/IcePatch2/ClientUtil.h b/cpp/include/IcePatch2/ClientUtil.h index 616b7f75fe7..96471cdc418 100755 --- a/cpp/include/IcePatch2/ClientUtil.h +++ b/cpp/include/IcePatch2/ClientUtil.h @@ -43,12 +43,17 @@ public: Patcher(const Ice::CommunicatorPtr&, const PatcherFeedbackPtr&); virtual ~Patcher(); - void patch(); + // + // Returns true if patching was successful, false if patching was + // aborted by the user, or raises std::string as an exception if + // there was an error. + // + bool patch(); private: - void removeFiles(const FileInfoSeq&); - void updateFiles(const FileInfoSeq&); + bool removeFiles(const FileInfoSeq&); + bool updateFiles(const FileInfoSeq&); virtual void run(); |