diff options
author | Michael Vogt <mvo@debian.org> | 2013-10-05 12:22:55 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-10-05 12:22:55 +0200 |
commit | d428d131a29a08fa7c1d95b98b684fb2ebb554c0 (patch) | |
tree | 3b87f98fee2553dbe482c976d769653f3e32b0e9 /apt-pkg/algorithms.h | |
parent | 82e369c4b93b5b81db7988ab377a3c5bd388268e (diff) |
Move ListUpdate/AquireUpdate into update.{cc,h}
This moves the ListUpdate/AquireUpdate out of the "catch-all"
algorithm.{cc,h} file into its own update.{cc,h}
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r-- | apt-pkg/algorithms.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index 9dfa1538a..80f6578eb 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -46,10 +46,9 @@ using std::ostream; #ifndef APT_9_CLEANER_HEADERS #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 |