]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
fix section adding
[apt.git] / apt-pkg / algorithms.h
index 9dfa1538a895345fb7dfddcc558248b1947a8537..5a9a77415e2764b04a43e9e725d00c892ec05f5b 100644 (file)
 
 #ifndef APT_8_CLEANER_HEADERS
 #include <apt-pkg/acquire.h>
-// include pkg{DistUpgrade,AllUpgrade,MiniizeUpgrade} here for compatiblity
 using std::ostream;
 #endif
 
 #ifndef APT_9_CLEANER_HEADERS
+// include pkg{DistUpgrade,AllUpgrade,MiniizeUpgrade} here for compatiblity
 #include <apt-pkg/upgrade.h>
+#include <apt-pkg/update.h>
 #endif
 
-class pkgAcquireStatus;
-
 
 class pkgSimulate : public pkgPackageManager                           /*{{{*/
 {
@@ -152,8 +151,5 @@ bool pkgFixBroken(pkgDepCache &Cache);
 
 void pkgPrioSortList(pkgCache &Cache,pkgCache::Version **List);
 
-bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List, int PulseInterval=0);
-bool AcquireUpdate(pkgAcquire &Fetcher, int const PulseInterval = 0,
-                  bool const RunUpdateScripts = true, bool const ListCleanup = true);
 
 #endif