summaryrefslogtreecommitdiff
path: root/apt-pkg/packagemanager.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:27 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:27 +0000
commit03e39e592311fd327ea516d31567557830634c86 (patch)
tree6fc4479836bf5df004ecc5b387854d95a54a7b05 /apt-pkg/packagemanager.h
parentd7827acababa05db7e901d2dfeb27538ef6a6142 (diff)
Archive acquire code
Author: jgg Date: 1998-11-13 04:23:26 GMT Archive acquire code
Diffstat (limited to 'apt-pkg/packagemanager.h')
-rw-r--r--apt-pkg/packagemanager.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/apt-pkg/packagemanager.h b/apt-pkg/packagemanager.h
index 7fd01cb39..c6ab82de6 100644
--- a/apt-pkg/packagemanager.h
+++ b/apt-pkg/packagemanager.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: packagemanager.h,v 1.4 1998/07/19 21:24:13 jgg Exp $
+// $Id: packagemanager.h,v 1.5 1998/11/13 04:23:31 jgg Exp $
/* ######################################################################
Package Manager - Abstacts the package manager
@@ -31,10 +31,11 @@
#include <string>
#include <apt-pkg/pkgcache.h>
-class pkgAquire;
+class pkgAcquire;
class pkgDepCache;
class pkgSourceList;
class pkgOrderList;
+class pkgRecords;
class pkgPackageManager
{
protected:
@@ -68,11 +69,13 @@ class pkgPackageManager
virtual bool Install(PkgIterator /*Pkg*/,string /*File*/) {return false;};
virtual bool Configure(PkgIterator /*Pkg*/) {return false;};
virtual bool Remove(PkgIterator /*Pkg*/) {return false;};
- virtual bool Go() {return false;};
+ virtual bool Go() {return true;};
public:
// Main action members
+ bool GetArchives(pkgAcquire *Owner,pkgSourceList *Sources,
+ pkgRecords *Recs);
bool DoInstall();
bool FixMissing();