summaryrefslogtreecommitdiff
path: root/src/pool.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-09 01:28:20 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-09 01:28:20 -0600
commitc9f7195936090ecbe2d5b4ec88c196660ae24f81 (patch)
tree7bfbe9d00de44c0c79c460169ad324b6a17c6379 /src/pool.h
parent9f81c798ee0854cab038714670123bff6676a5d5 (diff)
downloadfork-ledger-c9f7195936090ecbe2d5b4ec88c196660ae24f81.tar.gz
fork-ledger-c9f7195936090ecbe2d5b4ec88c196660ae24f81.tar.bz2
fork-ledger-c9f7195936090ecbe2d5b4ec88c196660ae24f81.zip
Added the notion of "virtual costs"
Diffstat (limited to 'src/pool.h')
-rw-r--r--src/pool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pool.h b/src/pool.h
index 7203bc20..b7921f59 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -119,6 +119,7 @@ public:
cost_breakdown_t exchange(const amount_t& amount,
const amount_t& cost,
const bool is_per_unit = false,
+ const bool add_price = true,
const optional<datetime_t>& moment = none,
const optional<string>& tag = none);