You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1004 B

  1. // -*- mode: cpp; mode: fold -*-
  2. // Description /*{{{*/
  3. // $Id: acqprogress.h,v 1.5 2003/02/02 22:24:11 jgg Exp $
  4. /* ######################################################################
  5. Acquire Progress - Command line progress meter
  6. ##################################################################### */
  7. /*}}}*/
  8. #ifndef ACQPROGRESS_H
  9. #define ACQPROGRESS_H
  10. #include <apt-pkg/acquire.h>
  11. class AcqTextStatus : public pkgAcquireStatus
  12. {
  13. unsigned int &ScreenWidth;
  14. char BlankLine[1024];
  15. unsigned long ID;
  16. unsigned long Quiet;
  17. public:
  18. virtual bool MediaChange(string Media,string Drive);
  19. virtual void IMSHit(pkgAcquire::ItemDesc &Itm);
  20. virtual void Fetch(pkgAcquire::ItemDesc &Itm);
  21. virtual void Done(pkgAcquire::ItemDesc &Itm);
  22. virtual void Fail(pkgAcquire::ItemDesc &Itm);
  23. virtual void Start();
  24. virtual void Stop();
  25. bool Pulse(pkgAcquire *Owner);
  26. AcqTextStatus(unsigned int &ScreenWidth,unsigned int Quiet);
  27. };
  28. #endif