]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/progress.h
test that AddFD for single summations works, too
[apt.git] / apt-pkg / contrib / progress.h
index 3f87f4d3a4b9e6e1a9ff663f9fd69b960298c348..3a914d17f6aca935059a30a56834875b85d745ea 100644 (file)
@@ -21,8 +21,6 @@
 #ifndef PKGLIB_PROGRESS_H
 #define PKGLIB_PROGRESS_H
 
-#ifdef __GNUG__
-#endif 
 
 #include <string>
 #include <sys/time.h>
@@ -57,8 +55,7 @@ class OpProgress
    public:
    
    void Progress(unsigned long Current);
-   void SubProgress(unsigned long SubTotal);
-   void SubProgress(unsigned long SubTotal,const string &Op);
+   void SubProgress(unsigned long SubTotal, const string &Op = "", float const Percent = -1);
    void OverallProgress(unsigned long Current,unsigned long Total,
                        unsigned long Size,const string &Op);
    virtual void Done() {};