]> git.saurik.com Git - apt.git/blame - cmdline/acqprogress.h
Marathi translation updated
[apt.git] / cmdline / acqprogress.h
CommitLineData
0919e3f9
AL
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
3b77265b 3// $Id: acqprogress.h,v 1.5 2003/02/02 22:24:11 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;
3b77265b 18 char BlankLine[1024];
0919e3f9
AL
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