Go to the documentation of this file.00001
00006 #ifndef EPT_PROGRESSCALLBACK_H
00007 #define EPT_PROGRESSCALLBACK_H
00008
00009 #include <apt-pkg/acquire.h>
00010
00011 namespace ept {
00012
00013 class ProgressCallback : public pkgAcquireStatus
00014 {
00015 protected:
00016 virtual bool Pulse(pkgAcquire *Owner);
00017 public:
00018 ProgressCallback() {};
00019 virtual ~ProgressCallback() {};
00020 virtual bool MediaChange( string, string ) { return false; }
00021
00022
00023 virtual void UpdatePulse( double, double, unsigned long ) {}
00024 };
00025
00026 }
00027
00028 #endif