]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire.h
Merge branch 'feature/gnupglimit' into debian/experimental
[apt.git] / apt-pkg / acquire.h
index ef16d8556538bc2ab88bd88b71b0ec802db16d3c..a92ecc24c37e899b537fa8b727753aa73600b7d7 100644 (file)
@@ -585,7 +585,7 @@ class pkgAcquire::UriIterator
     *
     *  \param Q The queue over which this UriIterator should iterate.
     */
-   UriIterator(pkgAcquire::Queue *Q) : CurQ(Q), CurItem(0)
+   UriIterator(pkgAcquire::Queue *Q) : d(NULL), CurQ(Q), CurItem(0)
    {
       while (CurItem == 0 && CurQ != 0)
       {
@@ -714,6 +714,10 @@ class pkgAcquireStatus
    /** \brief The number of items that have been successfully downloaded. */
    unsigned long CurrentItems;
    
+   /** \brief The estimated percentage of the download (0-100)
+    */
+   double Percent;
+
    public:
 
    /** \brief If \b true, the download scheduler should call Pulse()