summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:12 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:12 +0000
commit8b89e57fa2ae7d34b055b8f804cee0c2c194043b (patch)
treee064dc401cfa03ed15eaafbc746ecd9bb379a211 /apt-pkg/acquire-item.h
parent92173b19af439ac49d842902a3a57105d396d7d8 (diff)
Stable acquire code
Author: jgg Date: 1998-10-26 07:11:43 GMT Stable acquire code
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r--apt-pkg/acquire-item.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h
index 352fc3e24..bdd4d3581 100644
--- a/apt-pkg/acquire-item.h
+++ b/apt-pkg/acquire-item.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire-item.h,v 1.3 1998/10/24 04:57:57 jgg Exp $
+// $Id: acquire-item.h,v 1.4 1998/10/26 07:11:44 jgg Exp $
/* ######################################################################
Acquire Item - Item to acquire
@@ -33,6 +33,8 @@ class pkgAcquire::Item
inline void QueueURI(string URI,string Description)
{Owner->Enqueue(this,URI,Description);};
+ void Rename(string From,string To);
+
public:
// State of the item
@@ -60,9 +62,11 @@ class pkgAcqIndex : public pkgAcquire::Item
protected:
const pkgSourceList::Item *Location;
+ bool Decompression;
public:
+ virtual void Done(string Message,unsigned long Size,string Md5Hash);
virtual string Custom600Headers();
pkgAcqIndex(pkgAcquire *Owner,const pkgSourceList::Item *Location);
@@ -77,8 +81,7 @@ class pkgAcqIndexRel : public pkgAcquire::Item
public:
- virtual void Done(string Message,unsigned long Size,string Md5Hash);
-
+ virtual void Done(string Message,unsigned long Size,string Md5Hash);
virtual string Custom600Headers();
pkgAcqIndexRel(pkgAcquire *Owner,const pkgSourceList::Item *Location);