summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-09 03:42:06 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-09 03:42:35 -0500
commit6cdb79e2a611d99fa6e13dd224a92dc8badaf2ac (patch)
tree967464fc8bda9543a108d83d3fc96ecdffb4e04c /src/amount.h
parent2c80227339538154ad0869e746f52db805325589 (diff)
downloadfork-ledger-6cdb79e2a611d99fa6e13dd224a92dc8badaf2ac.tar.gz
fork-ledger-6cdb79e2a611d99fa6e13dd224a92dc8badaf2ac.tar.bz2
fork-ledger-6cdb79e2a611d99fa6e13dd224a92dc8badaf2ac.zip
XML reporting now works via the "xml" command
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amount.h b/src/amount.h
index d8a19f91..505e2ea7 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -745,7 +745,8 @@ inline std::istream& operator>>(std::istream& in, amount_t& amt) {
return in;
}
-void to_xml(std::ostream& out, const amount_t& amt);
+void to_xml(std::ostream& out, const amount_t& amt,
+ bool commodity_details = false);
} // namespace ledger