summaryrefslogtreecommitdiff
path: root/src/pool.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/pool.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/pool.h')
-rw-r--r--src/pool.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pool.h b/src/pool.h
index 17781bf1..cec2f05e 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -83,12 +83,13 @@ public:
bool keep_base; // --base
optional<path> price_db; // --price-db=
- long download_leeway; // --leeway=
- bool download_quotes; // --download
+ long quote_leeway; // --leeway=
+ bool get_quotes; // --download
public:
function<optional<price_point_t>
- (const optional<commodity_t&>& commodity)> get_commodity_quote;
+ (const commodity_t& commodity,
+ const optional<commodity_t&>& in_terms_of)> get_commodity_quote;
explicit commodity_pool_t();