]>
git.saurik.com Git - apt.git/blob - cmdline/acqprogress.h
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: acqprogress.h,v 1.3 1998/12/04 21:16:53 jgg Exp $
4 /* ######################################################################
6 Acquire Progress - Command line progress meter
8 ##################################################################### */
13 #include <apt-pkg/acquire.h>
15 class AcqTextStatus
: public pkgAcquireStatus
17 unsigned int &ScreenWidth
;
24 virtual bool MediaChange(string Media
,string Drive
);
25 virtual void IMSHit(pkgAcquire::ItemDesc
&Itm
);
26 virtual void Fetch(pkgAcquire::ItemDesc
&Itm
);
27 virtual void Done(pkgAcquire::ItemDesc
&Itm
);
28 virtual void Fail(pkgAcquire::ItemDesc
&Itm
);
32 void Pulse(pkgAcquire
*Owner
);
34 AcqTextStatus(unsigned int &ScreenWidth
,unsigned int Quiet
);