]> git.saurik.com Git - apt.git/blobdiff - cmdline/acqprogress.h
use forward declaration in headers if possible instead of includes
[apt.git] / cmdline / acqprogress.h
index 48f90ae59d87eebe2a0ab1318bb20fe7fe228156..8f0903923a2440cfbecf1917045efd9672618a9b 100644 (file)
@@ -12,6 +12,8 @@
 
 #include <apt-pkg/acquire.h>
 
+#include <string>
+
 class AcqTextStatus : public pkgAcquireStatus
 {
    unsigned int &ScreenWidth;
@@ -21,7 +23,7 @@ class AcqTextStatus : public pkgAcquireStatus
    
    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);