]> git.saurik.com Git - apt.git/blame - cmdline/acqprogress.h
Fixed the resetting of Dir with "dir {};". Closes: #87323
[apt.git] / cmdline / acqprogress.h
CommitLineData
0919e3f9
AL
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
024d1123 3// $Id: acqprogress.h,v 1.4 1999/06/13 05:06:40 jgg Exp $
0919e3f9
AL
4/* ######################################################################
5
6 Acquire Progress - Command line progress meter
7
8 ##################################################################### */
9 /*}}}*/
10#ifndef ACQPROGRESS_H
11#define ACQPROGRESS_H
12
13#include <apt-pkg/acquire.h>
14
15class AcqTextStatus : public pkgAcquireStatus
16{
d7827aca 17 unsigned int &ScreenWidth;
0919e3f9
AL
18 char BlankLine[300];
19 unsigned long ID;
20 unsigned long Quiet;
21
22 public:
23
542ec555 24 virtual bool MediaChange(string Media,string Drive);
0919e3f9
AL
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);
29 virtual void Start();
30 virtual void Stop();
31
024d1123 32 bool Pulse(pkgAcquire *Owner);
0919e3f9 33
d7827aca 34 AcqTextStatus(unsigned int &ScreenWidth,unsigned int Quiet);
0919e3f9
AL
35};
36
37#endif