summaryrefslogtreecommitdiff
path: root/ledger.h
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.h')
-rw-r--r--ledger.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ledger.h b/ledger.h
index 077a091b..60e5160c 100644
--- a/ledger.h
+++ b/ledger.h
@@ -82,10 +82,12 @@ class amount
virtual amount * copy() const = 0;
virtual amount * value(const amount * pr = NULL) const = 0;
- virtual amount * street(bool get_quotes) const = 0;
+ virtual void set_value(const amount * pr) = 0;
+ virtual amount * street(std::time_t * when = NULL,
+ bool get_quotes = false) const = 0;
virtual bool has_price() const = 0;
- virtual void set_value(const amount * pr) = 0;
+ virtual amount * per_item_price() const = 0;
// Comparison