]>
git.saurik.com Git - apt.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>
17 class AcqTextStatus
: public pkgAcquireStatus
19 unsigned int &ScreenWidth
;
26 virtual bool MediaChange(std::string Media
,std::string Drive
);
27 virtual void IMSHit(pkgAcquire::ItemDesc
&Itm
);
28 virtual void Fetch(pkgAcquire::ItemDesc
&Itm
);
29 virtual void Done(pkgAcquire::ItemDesc
&Itm
);
30 virtual void Fail(pkgAcquire::ItemDesc
&Itm
);
34 bool Pulse(pkgAcquire
*Owner
);
36 AcqTextStatus(unsigned int &ScreenWidth
,unsigned int Quiet
);