diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-16 19:36:58 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-16 19:36:58 +0200 |
| commit | 0153cede3726849504b04dabdebc8460c1c0fc91 (patch) | |
| tree | 97519b677c42cab89faa794621713664a17473f9 /python/acquireprogress.cc | |
| parent | 7e5b2dee624fb0fb7a6536cfdc74d30eeca8ffbe (diff) | |
| download | python-apt-0153cede3726849504b04dabdebc8460c1c0fc91.tar.gz | |
python/progress.h: Add Py{Acquire,Op}ProgressObject.
Diffstat (limited to 'python/acquireprogress.cc')
| -rw-r--r-- | python/acquireprogress.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/python/acquireprogress.cc b/python/acquireprogress.cc index eb02d018..c7db8921 100644 --- a/python/acquireprogress.cc +++ b/python/acquireprogress.cc @@ -19,20 +19,10 @@ */ #include "apt_pkgmodule.h" +#include "progress.h" #include <Python.h> #include <structmember.h> -typedef struct { - PyObject_HEAD - double last_bytes; - double current_cps; - double current_bytes; - double total_bytes; - double fetched_bytes; - unsigned long elapsed_time; - unsigned long total_items; - unsigned long current_items; -} PyAcquireProgressObject; // DUMMY IMPLEMENTATIONS. |
