From c892e8c7ad0aaf6c47ff6e9075149a76188ae670 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 21 Jun 2004 04:52:43 -0400 Subject: fixes to price history support --- ledger.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ledger.h') 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 -- cgit v1.2.3