summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/session.h b/src/session.h
index 4955053d..c1e0243b 100644
--- a/src/session.h
+++ b/src/session.h
@@ -66,12 +66,9 @@ 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;
-
- shared_ptr<commodity_pool_t> commodity_pool;
- scoped_ptr<account_t> master;
- scoped_ptr<journal_t> journal;
+ bool flush_on_next_data_file;
+ date_t::year_type current_year;
+ shared_ptr<journal_t> journal;
explicit session_t();
virtual ~session_t() {
@@ -106,6 +103,7 @@ public:
void report_options(std::ostream& out)
{
HANDLER(account_).report(out);
+ HANDLER(cache_).report(out);
HANDLER(download).report(out);
HANDLER(file_).report(out);
HANDLER(input_date_format_).report(out);
@@ -123,6 +121,7 @@ public:
*/
OPTION(session_t, account_); // -a
+ OPTION(session_t, cache_);
OPTION(session_t, download); // -Q
OPTION__