diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:50 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:50 +0000 |
commit | 542ec555f1d484a299b56e35655756d78716f102 (patch) | |
tree | aac5b14d4831b01214c19660c4130f0363dc3030 /apt-pkg/acquire.h | |
parent | f46e768107c0250eb0609a89a74b66ab3c9d8cec (diff) | |
download | apt-542ec555f1d484a299b56e35655756d78716f102.tar.gz |
CDROM support
Author: jgg
Date: 1998-12-04 21:16:46 GMT
CDROM support
Diffstat (limited to 'apt-pkg/acquire.h')
-rw-r--r-- | apt-pkg/acquire.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h index 1526a1f7a..dc3896d3f 100644 --- a/apt-pkg/acquire.h +++ b/apt-pkg/acquire.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire.h,v 1.15 1998/11/29 01:24:20 jgg Exp $ +// $Id: acquire.h,v 1.16 1998/12/04 21:16:49 jgg Exp $ /* ###################################################################### Acquire - File Acquiration @@ -208,11 +208,14 @@ class pkgAcquireStatus // Called by items when they have finished a real download virtual void Fetched(unsigned long Size,unsigned long ResumePoint); + // Called to change media + virtual bool MediaChange(string Media,string Drive) = 0; + // Each of these is called by the workers when an event occures virtual void IMSHit(pkgAcquire::ItemDesc &Itm) {}; virtual void Fetch(pkgAcquire::ItemDesc &Itm) {}; virtual void Done(pkgAcquire::ItemDesc &Itm) {}; - virtual void Fail(pkgAcquire::ItemDesc &Itm) {}; + virtual void Fail(pkgAcquire::ItemDesc &Itm) {}; virtual void Pulse(pkgAcquire *Owner); virtual void Start(); virtual void Stop(); |