diff options
author | John Wiegley <johnw@newartisans.com> | 2004-06-30 02:09:42 -0400 |
---|---|---|
committer | johnw <johnw@newartisans.com> | 2004-06-30 02:09:42 -0400 |
commit | f9c4f85870a03722953e950ef27f01a44a911c4d (patch) | |
tree | a91816410bbbc746df5eef6f88ca118f0aa7dda1 /ledger.h | |
parent | 1a5390243edf87b21e7bba0568150d50e3f10d5a (diff) | |
download | ledger-f9c4f85870a03722953e950ef27f01a44a911c4d.tar.gz ledger-f9c4f85870a03722953e950ef27f01a44a911c4d.tar.bz2 ledger-f9c4f85870a03722953e950ef27f01a44a911c4d.zip |
fixes
Diffstat (limited to 'ledger.h')
-rw-r--r-- | ledger.h | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -228,17 +228,18 @@ class totals totals() {} ~totals(); - void credit(const amount * val); - void credit(const totals& other); + void credit(const amount * val); + void credit(const totals& other); - void negate(); + void negate(); - bool is_zero() const; - bool is_negative() const; + bool is_zero() const; + bool is_negative() const; - void print(std::ostream& out, int width) const; - void print_street(std::ostream& out, int width, - std::time_t * when = NULL, + void print(std::ostream& out, int width) const; + + totals * value() const; + totals * street(std::time_t * when = NULL, bool use_history = false, bool download = false) const; }; |