X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/d568ed2d3ba5d7d05e4381ee59468a124309f152..5c2cb6e4ba5caca1f0efce0a726e8f47d16bc5a5:/apt-pkg/acquire.h?ds=inline diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h index 8bdcb8bb2..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.14 1998/11/23 07:32:20 jgg Exp $ +// $Id: acquire.h,v 1.16 1998/12/04 21:16:49 jgg Exp $ /* ###################################################################### Acquire - File Acquiration @@ -179,7 +179,6 @@ struct pkgAcquire::MethodConfig string Version; bool SingleInstance; - bool PreScan; bool Pipeline; bool SendConfig; bool LocalOnly; @@ -209,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();