]> git.saurik.com Git - apt.git/blobdiff - cmdline/acqprogress.h
a version can have only a single md5 for descriptions, so we can optimize
[apt.git] / cmdline / acqprogress.h
index 8b8da04a13d07c44e0756f06bd9c51a6970ce342..8f0903923a2440cfbecf1917045efd9672618a9b 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: acqprogress.h,v 1.4 1999/06/13 05:06:40 jgg Exp $
+// $Id: acqprogress.h,v 1.5 2003/02/02 22:24:11 jgg Exp $
 /* ######################################################################
 
    Acquire Progress - Command line progress meter 
 
 #include <apt-pkg/acquire.h>
 
+#include <string>
+
 class AcqTextStatus : public pkgAcquireStatus
 {
    unsigned int &ScreenWidth;
-   char BlankLine[300];
+   char BlankLine[1024];
    unsigned long ID;
    unsigned long Quiet;
    
    public:
    
-   virtual bool MediaChange(string Media,string Drive);
+   virtual bool MediaChange(std::string Media,std::string Drive);
    virtual void IMSHit(pkgAcquire::ItemDesc &Itm);
    virtual void Fetch(pkgAcquire::ItemDesc &Itm);
    virtual void Done(pkgAcquire::ItemDesc &Itm);