diff options
author | ZeroC Staff <git@zeroc.com> | 2002-10-11 18:09:33 +0000 |
---|---|---|
committer | ZeroC Staff <git@zeroc.com> | 2002-10-11 18:09:33 +0000 |
commit | 81497eb92354966f9cd8c864f299ffd1ef77f4db (patch) | |
tree | 8f8cd42a147db541d03df67d976f5065436c158d /cpp/include/IcePatch/ClientUtil.h | |
parent | Removed left-over trace messages. (diff) | |
download | ice-81497eb92354966f9cd8c864f299ffd1ef77f4db.tar.bz2 ice-81497eb92354966f9cd8c864f299ffd1ef77f4db.tar.xz ice-81497eb92354966f9cd8c864f299ffd1ef77f4db.zip |
icepatch changes. added missing code to AbortException. reverted ProgressCB
to interface
Diffstat (limited to 'cpp/include/IcePatch/ClientUtil.h')
-rw-r--r-- | cpp/include/IcePatch/ClientUtil.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/cpp/include/IcePatch/ClientUtil.h b/cpp/include/IcePatch/ClientUtil.h index d6f73113dfc..9fef610b0ff 100644 --- a/cpp/include/IcePatch/ClientUtil.h +++ b/cpp/include/IcePatch/ClientUtil.h @@ -19,18 +19,17 @@ namespace IcePatch { class ICE_PATCH_API AbortException : public IceUtil::Exception -{ +{
+public:
+ AbortException(const char*, int);
+ virtual std::string ice_name() const;
+ virtual IceUtil::Exception* ice_clone() const;
+ virtual void ice_throw() const;
}; -class ICE_PATCH_API ProgressCB : public IceUtil::Mutex +class ICE_PATCH_API ProgressCB { public: - - ProgressCB(); - virtual ~ProgressCB(); - void abort(); - bool isAborted(); - virtual void startDownload(Ice::Int, Ice::Int) = 0; virtual void updateDownload(Ice::Int, Ice::Int) = 0; virtual void finishedDownload(Ice::Int) = 0; @@ -38,10 +37,6 @@ public: virtual void startUncompress(Ice::Int, Ice::Int) = 0; virtual void updateUncompress(Ice::Int, Ice::Int) = 0; virtual void finishedUncompress(Ice::Int) = 0; - - private: - - bool _aborted; }; ICE_PATCH_API std::string pathToName(const std::string&); |