diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-29 21:05:08 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-29 21:05:08 -0400 |
commit | 42e1d725aa9deb41396ba4c73c8499c7c3798508 (patch) | |
tree | 709aded6962addc668a127a0392aec739d74f750 /entry.h | |
parent | ea27d1b45a5ff975a1e90e3e9f4b74ff8d34056e (diff) | |
download | ledger-42e1d725aa9deb41396ba4c73c8499c7c3798508.tar.gz ledger-42e1d725aa9deb41396ba4c73c8499c7c3798508.tar.bz2 ledger-42e1d725aa9deb41396ba4c73c8499c7c3798508.zip |
The next value expression scheme is working, but the individual accessor
functions for each of the journal objects has yet to be ported.
Diffstat (limited to 'entry.h')
-rw-r--r-- | entry.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -76,7 +76,7 @@ class entry_base_t virtual bool valid() const = 0; }; -class entry_t : public entry_base_t +class entry_t : public entry_base_t, public scope_t { public: datetime_t _date; @@ -108,11 +108,13 @@ public: return actual_date(); } + bool get_state(xact_t::state_t * state) const; + virtual void add_xact(xact_t * xact); - virtual bool valid() const; + virtual expr_t::ptr_op_t lookup(const string& name); - bool get_state(xact_t::state_t * state) const; + virtual bool valid() const; }; struct entry_finalizer_t { |