summaryrefslogtreecommitdiff
path: root/src/output.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-15 21:31:06 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-15 21:31:06 -0400
commit16c77af9c9a251b194b81bc7138a6f4fa8dcff81 (patch)
treeba12a8c3ef521979e3bb631699fa54ef097f3d09 /src/output.h
parentd0963ece02bb76599f9a5166ab2d8b34ee3e5d68 (diff)
downloadfork-ledger-16c77af9c9a251b194b81bc7138a6f4fa8dcff81.tar.gz
fork-ledger-16c77af9c9a251b194b81bc7138a6f4fa8dcff81.tar.bz2
fork-ledger-16c77af9c9a251b194b81bc7138a6f4fa8dcff81.zip
If 2+ child accounts are shown, show the parent
Also, also show a final balance if there are multiple accounts displayed, even if that final balance is zero.
Diffstat (limited to 'src/output.h')
-rw-r--r--src/output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output.h b/src/output.h
index 00f7d38d..a35d81cd 100644
--- a/src/output.h
+++ b/src/output.h
@@ -109,8 +109,8 @@ public:
std::pair<std::size_t, std::size_t>
mark_accounts(account_t& account, const bool flat);
- virtual void post_account(account_t& account);
- virtual void flush();
+ virtual std::size_t post_account(account_t& account);
+ virtual void flush();
virtual void operator()(account_t& account);
};