summaryrefslogtreecommitdiff
path: root/reconcile.h
diff options
context:
space:
mode:
Diffstat (limited to 'reconcile.h')
-rw-r--r--reconcile.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/reconcile.h b/reconcile.h
index 9f672d6b..c6affb81 100644
--- a/reconcile.h
+++ b/reconcile.h
@@ -6,32 +6,32 @@
namespace ledger {
-class reconcile_transactions : public item_handler<transaction_t>
+class reconcile_xacts : public item_handler<xact_t>
{
value_t balance;
datetime_t cutoff;
- transactions_list xacts;
+ xacts_list xacts;
- reconcile_transactions();
+ reconcile_xacts();
public:
- reconcile_transactions(xact_handler_ptr handler,
+ reconcile_xacts(xact_handler_ptr handler,
const value_t& _balance,
const datetime_t& _cutoff)
- : item_handler<transaction_t>(handler),
+ : item_handler<xact_t>(handler),
balance(_balance), cutoff(_cutoff) {
- TRACE_CTOR(reconcile_transactions,
+ TRACE_CTOR(reconcile_xacts,
"xact_handler_ptr, const value_t&, const datetime_t&");
}
- virtual ~reconcile_transactions() throw() {
- TRACE_DTOR(reconcile_transactions);
+ virtual ~reconcile_xacts() throw() {
+ TRACE_DTOR(reconcile_xacts);
}
- void push_to_handler(transaction_t * first);
+ void push_to_handler(xact_t * first);
virtual void flush();
- virtual void operator()(transaction_t& xact) {
+ virtual void operator()(xact_t& xact) {
xacts.push_back(&xact);
}
};