From c85cf0d810846e6ffc2a45b7283adacc202db30f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 7 Jun 2010 08:23:22 -0400 Subject: Fixed the way prices and costs are print'd --- src/annotate.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/annotate.h') diff --git a/src/annotate.h b/src/annotate.h index 6ef26476..4f2f1b04 100644 --- a/src/annotate.h +++ b/src/annotate.h @@ -87,7 +87,8 @@ struct annotation_t : public supports_flags<>, void parse(std::istream& in); - void print(std::ostream& out, bool keep_base = false) const; + void print(std::ostream& out, bool keep_base = false, + bool no_computed_annotations = false) const; bool valid() const { assert(*this); @@ -230,7 +231,8 @@ public: } virtual commodity_t& strip_annotations(const keep_details_t& what_to_keep); - virtual void write_annotations(std::ostream& out) const; + virtual void write_annotations(std::ostream& out, + bool no_computed_annotations = false) const; #if defined(HAVE_BOOST_SERIALIZATION) private: -- cgit v1.2.3