diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-02 19:17:43 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-02 19:17:43 -0500 |
commit | 46e46dd5a337c009391583a679d6172cf4f5aa42 (patch) | |
tree | 67009e7d8681685afec8b09dcb7930570492e36f /src/session.h | |
parent | a048afc8a34d3a1c1a6372ef6b7cc373779bcac0 (diff) | |
parent | d6790072eff9cb2a938ee9ed204263ee277a6874 (diff) | |
download | fork-ledger-46e46dd5a337c009391583a679d6172cf4f5aa42.tar.gz fork-ledger-46e46dd5a337c009391583a679d6172cf4f5aa42.tar.bz2 fork-ledger-46e46dd5a337c009391583a679d6172cf4f5aa42.zip |
Merge branch 'next'
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h index c1e0243b..58e33f6b 100644 --- a/src/session.h +++ b/src/session.h @@ -50,6 +50,7 @@ #include "account.h" #include "journal.h" #include "option.h" +#include "commodity.h" namespace ledger { @@ -105,6 +106,7 @@ public: HANDLER(account_).report(out); HANDLER(cache_).report(out); HANDLER(download).report(out); + HANDLER(european).report(out); HANDLER(file_).report(out); HANDLER(input_date_format_).report(out); HANDLER(price_db_).report(out); @@ -124,6 +126,10 @@ public: OPTION(session_t, cache_); OPTION(session_t, download); // -Q + OPTION_(session_t, european, DO() { + commodity_t::european_by_default = true; + }); + OPTION__ (session_t, price_exp_, // -Z CTOR(session_t, price_exp_) { value = 24L * 3600L; } |