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. --- entry.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'entry.h') diff --git a/entry.h b/entry.h index b092684d..5764624c 100644 --- a/entry.h +++ b/entry.h @@ -41,9 +41,11 @@ class journal_t; typedef std::list xacts_list; -class entry_base_t +class entry_base_t : public supports_flags<> { - public: +public: +#define ENTRY_IN_CACHE 0x1 + journal_t * journal; string note; unsigned long src_idx; -- cgit v1.2.3