Skip to content
Browse files

Pass breadcrumbs on from fractional_progress

  • Loading branch information...
1 parent 00ebd0a commit 0ccb0f6752974a39a49c57ecfd4803256d38ab65 @Mortal Mortal committed Aug 20, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 tpie/fractional_progress.h
View
8 tpie/fractional_progress.h
@@ -124,6 +124,14 @@ class fractional_progress {
///////////////////////////////////////////////////////////////////////////
unique_id_type & id();
+ void push_breadcrumb(const char * crumb, description_importance importance) {
+ if (m_pi) m_pi->push_breadcrumb(crumb, importance);
+ }
+
+ void pop_breadcrumb() {
+ if (m_pi) m_pi->pop_breadcrumb();
+ }
+
private:
double get_fraction(fractional_subindicator & sub);

0 comments on commit 0ccb0f6

Please sign in to comment.
Something went wrong with that request. Please try again.