5 #ifndef ICE_PATCH2_CLIENT_UTIL_H
6 #define ICE_PATCH2_CLIENT_UTIL_H
10 #include <IcePatch2/FileServer.h>
26 virtual ~PatcherFeedback();
33 virtual bool noFileSummary(
const std::string& reason) = 0;
42 virtual bool checksumStart() = 0;
43 virtual bool checksumProgress(
const std::string&) = 0;
44 virtual bool checksumEnd() = 0;
53 virtual bool fileListStart() = 0;
54 virtual bool fileListProgress(
Ice::Int) = 0;
55 virtual bool fileListEnd() = 0;
66 virtual bool patchEnd() = 0;
91 virtual bool prepare() = 0;
100 virtual bool patch(
const std::string&) = 0;
107 virtual void finish() = 0;
132 static PatcherPtr create(
const Ice::CommunicatorPtr&,
const PatcherFeedbackPtr&);
138 static PatcherPtr create(
const FileServerPrx&,
const PatcherFeedbackPtr&,
const std::string&,
bool,
Ice::Int,
Ice::Int);