From c11d32571246e51f401deee88f4ebd752b467fdc Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 4 Mar 2009 23:53:43 -0400 Subject: Reduced the #include dependency tree to a minimum --- src/output.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/output.h') 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); }; -- cgit v1.2.3