]>
git.saurik.com Git - apt-legacy.git/blob - cmdline/acqprogress.h
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: acqprogress.h,v 1.5 2003/02/02 22:24:11 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 bool Pulse(pkgAcquire
*Owner
);
34 AcqTextStatus(unsigned int &ScreenWidth
,unsigned int Quiet
);