]>
git.saurik.com Git - apt.git/blob - apt-private/acqprogress.h
71a10d78afc6430a6103fa29289b1326857c1873
1 // -*- mode: cpp; mode: fold -*-
3 /* ######################################################################
5 Acquire Progress - Command line progress meter
7 ##################################################################### */
12 #include <apt-pkg/acquire.h>
13 #include <apt-pkg/macros.h>
17 class APT_PUBLIC 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 const Quiet
);