summaryrefslogtreecommitdiff
path: root/journal.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-19 20:31:46 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:28 -0400
commit0a6b5726ec3bf402a953ea8a03b98ecbf4b90b0c (patch)
tree0a2c2aca7100d045f491b03f0a5bda92378d3ef9 /journal.h
parent176b3044e355398a0c31e0c42a3cd7b8a2e3f3e5 (diff)
downloadfork-ledger-0a6b5726ec3bf402a953ea8a03b98ecbf4b90b0c.tar.gz
fork-ledger-0a6b5726ec3bf402a953ea8a03b98ecbf4b90b0c.tar.bz2
fork-ledger-0a6b5726ec3bf402a953ea8a03b98ecbf4b90b0c.zip
Made the amount/balance/value interface a bit more rational; added
back a useless version of the register command (just to prove the command sequence); and added smart XML semantics to the XPath implementation so that nodes can be coerced to values.
Diffstat (limited to 'journal.h')
-rw-r--r--journal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/journal.h b/journal.h
index 5506421d..5f1a8091 100644
--- a/journal.h
+++ b/journal.h
@@ -23,8 +23,8 @@ class transaction_t
enum state_t { UNCLEARED, CLEARED, PENDING };
entry_t * entry;
- ptime _date;
- ptime _date_eff;
+ ptime _date;
+ ptime _date_eff;
account_t * account;
amount_t amount;
std::string amount_expr;
@@ -151,8 +151,8 @@ class entry_base_t
class entry_t : public entry_base_t
{
public:
- ptime _date;
- ptime _date_eff;
+ ptime _date;
+ ptime _date_eff;
std::string code;
std::string payee;