From 03e39e592311fd327ea516d31567557830634c86 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:51:27 +0000 Subject: Archive acquire code Author: jgg Date: 1998-11-13 04:23:26 GMT Archive acquire code --- apt-pkg/acquire-item.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'apt-pkg/acquire-item.h') diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h index da650a63f..2de1e409e 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.7 1998/11/11 06:54:14 jgg Exp $ +// $Id: acquire-item.h,v 1.8 1998/11/13 04:23:28 jgg Exp $ /* ###################################################################### Acquire Item - Item to acquire @@ -19,6 +19,7 @@ #include #include +#include #ifdef __GNUG__ #pragma interface "apt-pkg/acquire-item.h" @@ -95,4 +96,23 @@ class pkgAcqIndexRel : public pkgAcquire::Item pkgAcqIndexRel(pkgAcquire *Owner,const pkgSourceList::Item *Location); }; +// Item class for archive files +class pkgAcqArchive : public pkgAcquire::Item +{ + protected: + + pkgCache::VerIterator Version; + pkgAcquire::ItemDesc Desc; + pkgSourceList *Sources; + pkgRecords *Recs; + string MD5; + + public: + + virtual void Done(string Message,unsigned long Size,string Md5Hash); + + pkgAcqArchive(pkgAcquire *Owner,pkgSourceList *Sources, + pkgRecords *Recs,pkgCache::VerIterator const &Version); +}; + #endif -- cgit v1.2.3-70-g09d2