diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-11-10 17:20:58 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-11-10 17:20:58 +0100 |
| commit | 628d7caf9ca6ee819398a4b88c23e42094fe2c10 (patch) | |
| tree | 06d0c31214151eadd35a945dc6e063e2e52dd38d /python/progress.h | |
| parent | 1948d5d03887eb81ea7797c0f23049ef6c3895ce (diff) | |
| download | python-apt-628d7caf9ca6ee819398a4b88c23e42094fe2c10.tar.gz | |
fix build against apt in experimental
Diffstat (limited to 'python/progress.h')
| -rw-r--r-- | python/progress.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/progress.h b/python/progress.h index 4e66c771..af8e3acc 100644 --- a/python/progress.h +++ b/python/progress.h @@ -72,7 +72,7 @@ struct PyFetchProgress : public pkgAcquireStatus, public PyCallbackObj void UpdateStatus(pkgAcquire::ItemDesc & Itm, int status); - virtual bool MediaChange(string Media, string Drive); + virtual bool MediaChange(std::string Media, std::string Drive); void setPyAcquire(PyObject *o) { Py_CLEAR(pyAcquire); @@ -107,11 +107,11 @@ struct PyInstallProgress : public PyCallbackObj struct PyCdromProgress : public pkgCdromStatus, public PyCallbackObj { // update steps, will be called regularly as a "pulse" - virtual void Update(string text="", int current=0); + virtual void Update(std::string text="", int current=0); // ask for cdrom insert virtual bool ChangeCdrom(); // ask for cdrom name - virtual bool AskCdromName(string &Name); + virtual bool AskCdromName(std::string &Name); PyCdromProgress() : PyCallbackObj() {}; }; |
