summaryrefslogtreecommitdiff
path: root/python/progress.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-11-15 16:55:07 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-11-15 16:55:07 +0100
commit92cc00805d175dc013d544bcee603e8a0c031c2b (patch)
treee33d5d7e7ae3910b67b3193401bf331aa5e80b07 /python/progress.h
parenta0c9ec82095d2e09715e5dc953119ec4fa7b4c2e (diff)
parentfcd268692450231c98bfb6ac2e573ce466e014c7 (diff)
downloadpython-apt-92cc00805d175dc013d544bcee603e8a0c031c2b.tar.gz
merged from lp:~mvo/apt/mvo
Diffstat (limited to 'python/progress.h')
-rw-r--r--python/progress.h6
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() {};
};