]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.h
make the TotalFiles more reliable in apt-get update
[apt.git] / apt-pkg / acquire-item.h
index f48d2a0d79f1350b89867accab78300fd2fa750c..c12d8d63aedc9f98ea30a2b63204ea3ccf975b90 100644 (file)
@@ -166,6 +166,16 @@ class pkgAcquire::Item : public WeakPointable
     *  \sa pkgAcquire
     */
    unsigned int QueueCounter;
+
+   /** \brief The number of additional fetch items that are expected
+    *  once this item is done.
+    *
+    *  Some items like pkgAcqMeta{Index,Sig} will queue additional
+    *  items. This variable can be set by the methods if it knows
+    *  in advance how many items to expect to get a more accurate
+    *  progress.
+    */
+   unsigned int ExpectedAdditionalItems;
    
    /** \brief The name of the file into which the retrieved object
     *  will be written.