summaryrefslogtreecommitdiff
path: root/src/cmdline/cmdline_search_progress.h
diff options
context:
space:
mode:
authorDaniel_Burrows@alumni.brown.edu <Daniel_Burrows@alumni.brown.edu>2010-07-03 18:48:03 -0700
committerDaniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu>2010-07-03 23:49:21 -0700
commitb2aa333c7b9af41a0aa0122d9d976a4dee2be6ba (patch)
tree0055c766ede64ead4adca121d9f7ab02ee7254a2 /src/cmdline/cmdline_search_progress.h
parent3fe709bebbfdb81c5354cf6e30c6762390569918 (diff)
downloadaptitude-b2aa333c7b9af41a0aa0122d9d976a4dee2be6ba.tar.gz
Move the throttle object to src/generic/util.
Diffstat (limited to 'src/cmdline/cmdline_search_progress.h')
-rw-r--r--src/cmdline/cmdline_search_progress.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cmdline/cmdline_search_progress.h b/src/cmdline/cmdline_search_progress.h
index 9cf6ef96..3131d04d 100644
--- a/src/cmdline/cmdline_search_progress.h
+++ b/src/cmdline/cmdline_search_progress.h
@@ -29,10 +29,13 @@ namespace aptitude
class progress;
}
- namespace cmdline
+ namespace util
{
- class progress_throttle;
+ class throttle;
+ }
+ namespace cmdline
+ {
/** \brief Create a progress-display object specialized for
* showing the progress of a search.
*
@@ -47,7 +50,7 @@ namespace aptitude
boost::shared_ptr<views::progress>
create_search_progress(const std::string &pattern,
const boost::shared_ptr<views::progress> &display,
- const boost::shared_ptr<progress_throttle> &throttle);
+ const boost::shared_ptr<util::throttle> &throttle);
}
}