]>
git.saurik.com Git - apt.git/blob - apt-private/acqprogress.h
1 // -*- mode: cpp; mode: fold -*-
3 /* ######################################################################
5 Acquire Progress - Command line progress meter
7 ##################################################################### */
12 #include <apt-pkg/acquire.h>
16 class AcqTextStatus
: public pkgAcquireStatus
18 unsigned int &ScreenWidth
;
25 virtual bool MediaChange(std::string Media
,std::string Drive
);
26 virtual void IMSHit(pkgAcquire::ItemDesc
&Itm
);
27 virtual void Fetch(pkgAcquire::ItemDesc
&Itm
);
28 virtual void Done(pkgAcquire::ItemDesc
&Itm
);
29 virtual void Fail(pkgAcquire::ItemDesc
&Itm
);
33 bool Pulse(pkgAcquire
*Owner
);
35 AcqTextStatus(unsigned int &ScreenWidth
,unsigned int Quiet
);