]> git.saurik.com Git - apt.git/blame - cmdline/acqprogress.h
Fixed held packages installing
[apt.git] / cmdline / acqprogress.h
CommitLineData
0919e3f9
AL
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
542ec555 3// $Id: acqprogress.h,v 1.3 1998/12/04 21:16:53 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
32 void Pulse(pkgAcquire *Owner);
33
d7827aca 34 AcqTextStatus(unsigned int &ScreenWidth,unsigned int Quiet);
0919e3f9
AL
35};
36
37#endif