diff options
author | Marc Laukien <marc@zeroc.com> | 2002-09-04 20:51:53 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-09-04 20:51:53 +0000 |
commit | 19cfeafcaa8d74e597a1a47cdedbf7b71661703d (patch) | |
tree | b9246e3ec619f8cda002f36c0282dc4a9a23aaba /cpp/include/IcePatch/ClientUtil.h | |
parent | more IcePatch work (diff) | |
download | ice-19cfeafcaa8d74e597a1a47cdedbf7b71661703d.tar.bz2 ice-19cfeafcaa8d74e597a1a47cdedbf7b71661703d.tar.xz ice-19cfeafcaa8d74e597a1a47cdedbf7b71661703d.zip |
more IcePatch work
Diffstat (limited to 'cpp/include/IcePatch/ClientUtil.h')
-rw-r--r-- | cpp/include/IcePatch/ClientUtil.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/cpp/include/IcePatch/ClientUtil.h b/cpp/include/IcePatch/ClientUtil.h new file mode 100644 index 00000000000..4797ab5f6da --- /dev/null +++ b/cpp/include/IcePatch/ClientUtil.h @@ -0,0 +1,39 @@ +// ********************************************************************** +// +// Copyright (c) 2002 +// Mutable Realms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#ifndef ICE_PATCH_CLIENT_UTIL_H +#define ICE_PATCH_CLIENT_UTIL_H + +#include <Ice/Ice.h> +#include <IcePatch/IcePatch.h> + +namespace IcePatch +{ + +ICE_PATCH_API std::string pathToName(const std::string&); + +class ICE_PATCH_API ProgressCB +{ +public: + + virtual void startDownload(Ice::Int, Ice::Int) = 0; + virtual void updateDownload(Ice::Int, Ice::Int) = 0; + virtual void finishedDownload(Ice::Int) = 0; + + virtual void startUncompress(Ice::Int, Ice::Int) = 0; + virtual void updateUncompress(Ice::Int, Ice::Int) = 0; + virtual void finishedUncompress(Ice::Int) = 0; +}; + +ICE_PATCH_API void getRegular(const IcePatch::RegularPrx&, ProgressCB&); + +} + +#endif |