diff options
author | Daniel Burrows <dburrows@debian.org> | 2010-07-10 19:29:47 -0700 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2010-07-10 19:29:47 -0700 |
commit | 3f7a3a99d061e63586f2c055d765a4889105db81 (patch) | |
tree | 42399d593761937336f6d3ef51d0aa137513ca75 /src/cmdline/cmdline_progress.cc | |
parent | f76856df0153de378c3a3d89fdd48775db914f38 (diff) | |
download | aptitude-3f7a3a99d061e63586f2c055d765a4889105db81.tar.gz |
Make download_status_display part of the command-line code.
It's really just a hack to break the command-line implementation up in a
way that's more amenable to unit-testing; it doesn't belong in the generic
view interface.
Diffstat (limited to 'src/cmdline/cmdline_progress.cc')
-rw-r--r-- | src/cmdline/cmdline_progress.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmdline/cmdline_progress.cc b/src/cmdline/cmdline_progress.cc index 9aa08cea..27368acc 100644 --- a/src/cmdline/cmdline_progress.cc +++ b/src/cmdline/cmdline_progress.cc @@ -38,6 +38,7 @@ #include <sigc++/functors/mem_fun.h> #include <sigc++/functors/ptr_fun.h> +using aptitude::cmdline::download_status_display; using aptitude::controllers::acquire_download_progress; using aptitude::controllers::create_acquire_download_progress; using boost::shared_ptr; @@ -61,7 +62,7 @@ namespace aptitude const shared_ptr<transient_message> message = create_transient_message(term_locale, term_metrics, term_output); - const shared_ptr<views::download_status_display> download_status = + const shared_ptr<download_status_display> download_status = create_cmdline_download_status_display(message, term_locale, term_metrics, |