summaryrefslogtreecommitdiff
path: root/balance.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-04 03:12:26 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-04 03:12:26 -0400
commit1741c80fe4f9dd896d4c8912b2ba35b14500ca1c (patch)
treecfdcb49cc929b023b71ecd9e126eff4830d77a0c /balance.h
parentf570e6644fce27b612562282b11d00fd0691873d (diff)
downloadfork-ledger-1741c80fe4f9dd896d4c8912b2ba35b14500ca1c.tar.gz
fork-ledger-1741c80fe4f9dd896d4c8912b2ba35b14500ca1c.tar.bz2
fork-ledger-1741c80fe4f9dd896d4c8912b2ba35b14500ca1c.zip
rewrote the way registers are computed -- again
Diffstat (limited to 'balance.h')
-rw-r--r--balance.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/balance.h b/balance.h
index edc7db2f..a41bcf6f 100644
--- a/balance.h
+++ b/balance.h
@@ -1,7 +1,11 @@
#ifndef _BALANCE_H
#define _BALANCE_H
-#include "ledger.h"
+#include <map>
+#include <ctime>
+#include <iostream>
+
+#include "amount.h"
namespace ledger {
@@ -349,6 +353,7 @@ inline std::ostream& operator<<(std::ostream& out, const balance_t& bal) {
}
#endif
+class transaction_t;
class balance_pair_t
{