diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-01 04:36:49 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:35 -0400 |
commit | e92bcf411d2e9a55969303ba3893a017152d7c18 (patch) | |
tree | e7b52d09751de39c86ede91f88a2fcf24facfb27 /src/report.h | |
parent | 50a9caf302936ba6f61bbe05b4718f199d0d584c (diff) | |
download | fork-ledger-e92bcf411d2e9a55969303ba3893a017152d7c18.tar.gz fork-ledger-e92bcf411d2e9a55969303ba3893a017152d7c18.tar.bz2 fork-ledger-e92bcf411d2e9a55969303ba3893a017152d7c18.zip |
Started using boost::optional<T>.
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/report.h b/src/report.h index 11a0b759..ca066566 100644 --- a/src/report.h +++ b/src/report.h @@ -11,16 +11,16 @@ typedef std::list<string> strings_list; class report_t : public xml::xpath_t::scope_t { public: - string output_file; - string format_string; - string amount_expr; - string total_expr; - string date_output_format; + optional<path> output_file; + string format_string; + string amount_expr; + string total_expr; + string date_output_format; unsigned long budget_flags; string account; - string pager; + optional<path> pager; bool show_totals; bool raw_mode; @@ -28,7 +28,7 @@ class report_t : public xml::xpath_t::scope_t session_t * session; transform_t * last_transform; - std::list<transform_t *> transforms; + ptr_list<transform_t> transforms; report_t(session_t * _session) : xml::xpath_t::scope_t(_session), |