summaryrefslogtreecommitdiff
path: root/src/account.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-27 21:33:33 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-27 21:33:33 -0400
commit07cca71893ef82e4199dc0dcadba25cc0185c4ed (patch)
tree032cf1aa68e507085bc3e901581ab87e7b2f3f73 /src/account.h
parentab433d28e08bbe23bbc75d333ed63343356e043a (diff)
downloadfork-ledger-07cca71893ef82e4199dc0dcadba25cc0185c4ed.tar.gz
fork-ledger-07cca71893ef82e4199dc0dcadba25cc0185c4ed.tar.bz2
fork-ledger-07cca71893ef82e4199dc0dcadba25cc0185c4ed.zip
Renamed two methods, for consistency's sake
Diffstat (limited to 'src/account.h')
-rw-r--r--src/account.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account.h b/src/account.h
index 428f6c63..8c276c8a 100644
--- a/src/account.h
+++ b/src/account.h
@@ -222,8 +222,8 @@ public:
return *xdata_;
}
- value_t self_total(const optional<expr_t&>& expr = none) const;
- value_t family_total(const optional<expr_t&>& expr = none) const;
+ value_t amount(const optional<expr_t&>& expr = none) const;
+ value_t total(const optional<expr_t&>& expr = none) const;
const xdata_t::details_t& self_details(bool gather_all = true) const;
const xdata_t::details_t& family_details(bool gather_all = true) const;