]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-worker.h
apt-pkg/cdrom.{cc,h}: add ScanForRemovable helper
[apt.git] / apt-pkg / acquire-worker.h
index 1f6bcc05f6fed0904373ea67f6f66981853a59bd..06283922e5e4dbe41c951b083d2eefd866ee68e7 100644 (file)
 #define PKGLIB_ACQUIRE_WORKER_H
 
 #include <apt-pkg/acquire.h>
+#include <apt-pkg/weakptr.h>
 
-#ifdef __GNUG__
-#pragma interface "apt-pkg/acquire-worker.h"
-#endif 
 
 /** \brief A fetch subprocess.
  *
@@ -44,7 +42,7 @@
  *
  *  \sa pkgAcqMethod, pkgAcquire::Item, pkgAcquire
  */
-class pkgAcquire::Worker
+class pkgAcquire::Worker : public WeakPointable
 {
    friend class pkgAcquire;