diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-04 23:53:43 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-04 23:53:43 -0400 |
commit | c11d32571246e51f401deee88f4ebd752b467fdc (patch) | |
tree | ccfe6c759d1f2f46a501495eeedecc8c679865d7 /src/output.cc | |
parent | 9a47298d811496816903515bdba7652e275cc32a (diff) | |
download | fork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.tar.gz fork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.tar.bz2 fork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.zip |
Reduced the #include dependency tree to a minimum
Diffstat (limited to 'src/output.cc')
-rw-r--r-- | src/output.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/output.cc b/src/output.cc index b559f253..f10de042 100644 --- a/src/output.cc +++ b/src/output.cc @@ -30,6 +30,11 @@ */ #include "output.h" +#include "xact.h" +#include "post.h" +#include "account.h" +#include "session.h" +#include "report.h" namespace ledger { @@ -58,6 +63,11 @@ format_posts::format_posts(report_t& _report, } } +void format_posts::flush() +{ + report.output_stream.flush(); +} + void format_posts::operator()(post_t& post) { std::ostream& out(report.output_stream); |