summaryrefslogtreecommitdiff
path: root/journal.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-23 04:42:44 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:30 -0400
commit6853db57e6fdb6fd95764be1f35af0006c9e2ef9 (patch)
treebf24550cbc6053c51bf2f3fdcf27f39a4c989f24 /journal.h
parentbe9f18ccfe81acdd2f34b27352f2843235fab69b (diff)
downloadfork-ledger-6853db57e6fdb6fd95764be1f35af0006c9e2ef9.tar.gz
fork-ledger-6853db57e6fdb6fd95764be1f35af0006c9e2ef9.tar.bz2
fork-ledger-6853db57e6fdb6fd95764be1f35af0006c9e2ef9.zip
All tests now working again. Reduced size of entity_t and
transaction_t considerably.
Diffstat (limited to 'journal.h')
-rw-r--r--journal.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/journal.h b/journal.h
index f390b674..dcf08539 100644
--- a/journal.h
+++ b/journal.h
@@ -22,21 +22,21 @@ class transaction_t
public:
enum state_t { UNCLEARED, CLEARED, PENDING };
- entry_t * entry;
- moment_t _date;
- moment_t _date_eff;
- account_t * account;
- amount_t amount;
- string amount_expr;
- amount_t * cost;
- string cost_expr;
- state_t state;
- unsigned short flags;
- string note;
- istream_pos_type beg_pos;
- unsigned long beg_line;
- istream_pos_type end_pos;
- unsigned long end_line;
+ entry_t * entry;
+ moment_t _date;
+ moment_t _date_eff;
+ account_t * account;
+ amount_t amount;
+ string amount_expr;
+ amount_t * cost;
+ string cost_expr;
+ state_t state;
+ unsigned short flags;
+ string note;
+ unsigned long beg_pos;
+ unsigned long beg_line;
+ unsigned long end_pos;
+ unsigned long end_line;
mutable void * data;
@@ -104,9 +104,9 @@ class entry_base_t
public:
journal_t * journal;
unsigned long src_idx;
- istream_pos_type beg_pos;
+ unsigned long beg_pos;
unsigned long beg_line;
- istream_pos_type end_pos;
+ unsigned long end_pos;
unsigned long end_line;
transactions_list transactions;