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.h | |
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.h')
-rw-r--r-- | src/output.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/output.h b/src/output.h index c154bed1..c7e108fe 100644 --- a/src/output.h +++ b/src/output.h @@ -46,11 +46,17 @@ #ifndef _OUTPUT_H #define _OUTPUT_H -#include "report.h" +#include "chain.h" +#include "predicate.h" #include "format.h" namespace ledger { +class xact_t; +class post_t; +class account_t; +class report_t; + /** * @brief Brief * @@ -74,9 +80,7 @@ public: TRACE_DTOR(format_posts); } - virtual void flush() { - report.output_stream.flush(); - } + virtual void flush(); virtual void operator()(post_t& post); }; |