diff options
author | John Wiegley <johnw@newartisans.com> | 2004-06-21 04:52:43 -0400 |
---|---|---|
committer | johnw <johnw@newartisans.com> | 2004-06-21 04:52:43 -0400 |
commit | c892e8c7ad0aaf6c47ff6e9075149a76188ae670 (patch) | |
tree | c21e7f6145722e430439b00785ebe63f609823bd /ledger.h | |
parent | 39ee2ae3d846b4bffa4e42ba4f3a9bc320ca9270 (diff) | |
download | fork-ledger-c892e8c7ad0aaf6c47ff6e9075149a76188ae670.tar.gz fork-ledger-c892e8c7ad0aaf6c47ff6e9075149a76188ae670.tar.bz2 fork-ledger-c892e8c7ad0aaf6c47ff6e9075149a76188ae670.zip |
fixes to price history support
Diffstat (limited to 'ledger.h')
-rw-r--r-- | ledger.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |