From 8276b51f5692796bfdf75dd64f709e0de1c7caaf Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 31 Jul 2008 04:28:58 -0400 Subject: A new binary_cache_t object has been creating to manage saving and restoring a Ledger session from a cache file. It doesn't work at all yet, though at least the major structures are in place now. --- xact.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'xact.h') diff --git a/xact.h b/xact.h index 319e4ad8..2078dabd 100644 --- a/xact.h +++ b/xact.h @@ -38,13 +38,14 @@ namespace ledger { // These flags persist with the object -#define XACT_NORMAL 0x0000 -#define XACT_VIRTUAL 0x0001 -#define XACT_BALANCE 0x0002 -#define XACT_AUTO 0x0004 -#define XACT_BULK_ALLOC 0x0008 -#define XACT_CALCULATED 0x0010 -#define XACT_GENERATED 0x0020 +#define XACT_NORMAL 0x0000 // no flags at all, a basic transaction +#define XACT_VIRTUAL 0x0001 // the account was specified with (parens) +#define XACT_BALANCE 0x0002 // the account was specified with [brackets] +#define XACT_AUTO 0x0004 // transaction created by automated entry +#define XACT_IN_CACHE 0x0008 // transaction allocated by the binary cache +#define XACT_CALCULATED 0x0010 // transaction's amount was auto-calculated +#define XACT_GENERATED 0x0020 // transaction was not found in a journal +#define XACT_TEMP 0x0040 // transaction is a temporary object class entry_t; class account_t; -- cgit v1.2.3