summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-04 03:35:06 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-05 05:03:52 -0600
commit48ab6ad1dbab100bb8abd87029a0ca5bc501a3db (patch)
tree294112ea9df8ecac90c98c08327ce13fe5592682 /src/report.cc
parent58d912827d2c6bd90c063537378baffff014c0f2 (diff)
downloadfork-ledger-48ab6ad1dbab100bb8abd87029a0ca5bc501a3db.tar.gz
fork-ledger-48ab6ad1dbab100bb8abd87029a0ca5bc501a3db.tar.bz2
fork-ledger-48ab6ad1dbab100bb8abd87029a0ca5bc501a3db.zip
Switched to using Boost.Graph for commodity pricing
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc
index 647df3d2..689028d0 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -878,11 +878,12 @@ value_t report_t::echo_command(call_scope_t& args)
value_t report_t::pricemap_command(call_scope_t& args)
{
std::ostream& out(output_stream);
-
+#if 0
+ // jww (2012-03-04): TODO
commodity_pool_t::current_pool->print_pricemap
(out, what_to_keep(), args.has<string>(0) ?
optional<datetime_t>(datetime_t(parse_date(args.get<string>(0)))) : none);
-
+#endif
return true;
}
@@ -913,6 +914,11 @@ option_t<report_t> * report_t::lookup_option(const char * p)
case 'G':
OPT_CH(gain);
break;
+#if 0
+ case 'H':
+ OPT_CH(historical);
+ break;
+#endif
case 'I':
OPT_CH(price);
break;