diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-05 21:47:53 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-05 21:47:53 -0400 |
commit | 50f75e0a5c3ee31c2bcc1fcbd8da42e24ccf072f (patch) | |
tree | 1ebf3b1adf32c537b95cce4f3074cde2eebc7147 /valexpr.h | |
parent | 7e87a0a0b1a8b76c44f4f678d8bfb5129ba6c5da (diff) | |
download | fork-ledger-50f75e0a5c3ee31c2bcc1fcbd8da42e24ccf072f.tar.gz fork-ledger-50f75e0a5c3ee31c2bcc1fcbd8da42e24ccf072f.tar.bz2 fork-ledger-50f75e0a5c3ee31c2bcc1fcbd8da42e24ccf072f.zip |
added support for account sorting
Diffstat (limited to 'valexpr.h')
-rw-r--r-- | valexpr.h | 19 |
1 files changed, 5 insertions, 14 deletions
@@ -33,26 +33,17 @@ struct details_t const entry_t * entry; const transaction_t * xact; const account_t * account; - const balance_pair_t * balance; - const unsigned int * index; const unsigned int depth; - details_t(const entry_t * _entry, - const balance_pair_t * _balance = NULL, - const unsigned int * _index = NULL) - : entry(_entry), xact(NULL), account(NULL), - balance(_balance), index(_index), depth(0) {} + details_t(const entry_t * _entry) + : entry(_entry), xact(NULL), account(NULL), depth(0) {} - details_t(const transaction_t * _xact, - const balance_pair_t * _balance = NULL, - const unsigned int * _index = NULL) - : entry(_xact->entry), xact(_xact), account(_xact->account), - balance(_balance), index(_index), depth(0) {} + details_t(const transaction_t * _xact) + : entry(_xact->entry), xact(_xact), account(_xact->account), depth(0) {} details_t(const account_t * _account, const unsigned int _depth = 0) - : entry(NULL), xact(NULL), account(_account), - balance(NULL), index(NULL), depth(_depth) {} + : entry(NULL), xact(NULL), account(_account), depth(_depth) {} }; struct node_t |