Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef CUPT_DOWNLOAD_PROGRESSES_CONSOLE_SEEN
00019 #define CUPT_DOWNLOAD_PROGRESSES_CONSOLE_SEEN
00020
00022
00023 #include <cupt/download/progress.hpp>
00024
00025 namespace cupt {
00026
00027 namespace internal {
00028
00029 class ConsoleProgressImpl;
00030
00031 }
00032
00033 namespace download {
00034
00036 class CUPT_API ConsoleProgress: public Progress
00037 {
00038 internal::ConsoleProgressImpl* __impl;
00039 protected:
00040 virtual void newDownloadHook(const string& uri, const DownloadRecord&);
00041 virtual void finishedDownloadHook(const string& uri, const string& result);
00042 virtual void updateHook(bool immediate);
00043 virtual void finishHook();
00044 public:
00046 ConsoleProgress();
00048 ~ConsoleProgress();
00049 };
00050
00051 }
00052 }
00053
00054 #endif
00055