]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.h
* merged apt--no-pragma
[apt.git] / apt-pkg / acquire-item.h
index 3a0a690e1e86fe3c255619b82094b5230b08ebed..1885f7beb087150394aa4c983c2ddf5e9aa9dd6a 100644 (file)
@@ -27,9 +27,6 @@
 #include <apt-pkg/pkgrecords.h>
 #include <apt-pkg/indexrecords.h>
 
-#ifdef __GNUG__
-#pragma interface "apt-pkg/acquire-item.h"
-#endif 
 
 // Item to acquire
 class pkgAcquire::Item
@@ -57,6 +54,7 @@ class pkgAcquire::Item
    unsigned long ID;
    bool Complete;
    bool Local;
+   string UsedMirror;
 
    // Number of queues we are inserted into
    unsigned int QueueCounter;
@@ -79,6 +77,9 @@ class pkgAcquire::Item
    pkgAcquire *GetOwner() {return Owner;};
    virtual bool IsTrusted() {return false;};
    
+   // report mirror problems
+   void ReportMirrorFailure(string FailCode);
+
    Item(pkgAcquire *Owner);
    virtual ~Item();
 };