summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-14 17:14:56 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-14 17:14:56 -0400
commitf3bedb88b24ae8b2047ad86e57b161265c2812f5 (patch)
treee6e5954f40a09e7fd002f242523c1eb0f318b397 /src/session.h
parent0c699e4d57fe91fa04c4c2f23f9c2f2a6a5da582 (diff)
parent63b4bdaecff5a865bff22e8e7914bef6ab46fa6b (diff)
downloadfork-ledger-f3bedb88b24ae8b2047ad86e57b161265c2812f5.tar.gz
fork-ledger-f3bedb88b24ae8b2047ad86e57b161265c2812f5.tar.bz2
fork-ledger-f3bedb88b24ae8b2047ad86e57b161265c2812f5.zip
Merge branch 'next'
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/session.h b/src/session.h
index 597268ee..6de4b2dd 100644
--- a/src/session.h
+++ b/src/session.h
@@ -56,8 +56,7 @@ class session_t : public symbol_scope_t
friend void set_session_context(session_t * session);
public:
- bool flush_on_next_data_file;
- date_t::year_type current_year;
+ bool flush_on_next_data_file;
std::auto_ptr<journal_t> journal;
explicit session_t();
@@ -75,6 +74,11 @@ public:
void close_journal_files();
value_t fn_account(call_scope_t& scope);
+ value_t fn_min(call_scope_t& scope);
+ value_t fn_max(call_scope_t& scope);
+ value_t fn_lot_price(call_scope_t& scope);
+ value_t fn_lot_date(call_scope_t& scope);
+ value_t fn_lot_tag(call_scope_t& scope);
void report_options(std::ostream& out)
{