summaryrefslogtreecommitdiff
path: root/src/commodity.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-24 18:08:56 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-24 18:08:56 +0100
commit1fad2ec7c135ebe87bb34838f21adaac720dda03 (patch)
treea4114a97cf8b61de35ef56c5c9406a84358df8cb /src/commodity.h
parent0663ac0a2a09c9061198298ef84c87820e0a46f3 (diff)
downloadfork-ledger-1fad2ec7c135ebe87bb34838f21adaac720dda03.tar.gz
fork-ledger-1fad2ec7c135ebe87bb34838f21adaac720dda03.tar.bz2
fork-ledger-1fad2ec7c135ebe87bb34838f21adaac720dda03.zip
More refactoring for --download
Diffstat (limited to 'src/commodity.h')
-rw-r--r--src/commodity.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commodity.h b/src/commodity.h
index 4bd5ee82..5d73f4e8 100644
--- a/src/commodity.h
+++ b/src/commodity.h
@@ -309,6 +309,11 @@ public:
return none;
}
+ optional<price_point_t>
+ check_for_updated_price(const optional<price_point_t>& point,
+ const optional<datetime_t>& moment,
+ const optional<commodity_t&>& in_terms_of);
+
// Methods related to parsing, reading, writing, etc., the commodity
// itself.