]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire.h
mve MetaKey into pkgAcqBaseIndex
[apt.git] / apt-pkg / acquire.h
index ef16d8556538bc2ab88bd88b71b0ec802db16d3c..7f51dd8f57f1f044d808f7c6c3ef23eaad4fb0b3 100644 (file)
@@ -248,6 +248,11 @@ class pkgAcquire
    
    public:
 
+   /** \brief Abort a given transaction */
+   void AbortTransaction(unsigned long TransactionID);
+   void CommitTransaction(unsigned long TransactionID);
+   bool TransactionHasError(unsigned long TransactionID);
+
    /** \brief Retrieve information about a fetch method by name.
     *
     *  \param Access The name of the method to look up.
@@ -714,6 +719,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()