summaryrefslogtreecommitdiff
path: root/src/annotate.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-07 08:23:22 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-07 08:32:14 -0400
commitc85cf0d810846e6ffc2a45b7283adacc202db30f (patch)
treeb444a914c8551951556a15794a94810d38b62414 /src/annotate.h
parenta4d4f9979486eb82c05bd032e1452c2fd400249f (diff)
downloadfork-ledger-c85cf0d810846e6ffc2a45b7283adacc202db30f.tar.gz
fork-ledger-c85cf0d810846e6ffc2a45b7283adacc202db30f.tar.bz2
fork-ledger-c85cf0d810846e6ffc2a45b7283adacc202db30f.zip
Fixed the way prices and costs are print'd
Diffstat (limited to 'src/annotate.h')
-rw-r--r--src/annotate.h6
1 files changed, 4 insertions, 2 deletions
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: