summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-15 02:55:16 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:35:32 -0400
commita087e6ea97494d97580c97705c665cac317a0dc3 (patch)
treed771c7f88f5b6255cb46b2d69aeec9395b3f982d /session.h
parent691c29a696d2347faebd5663da9d1dc751f275eb (diff)
downloadfork-ledger-a087e6ea97494d97580c97705c665cac317a0dc3.tar.gz
fork-ledger-a087e6ea97494d97580c97705c665cac317a0dc3.tar.bz2
fork-ledger-a087e6ea97494d97580c97705c665cac317a0dc3.zip
Cleared out all warnings; started work on getting Python up again.
Diffstat (limited to 'session.h')
-rw-r--r--session.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/session.h b/session.h
index 02da25d8..16c57d1c 100644
--- a/session.h
+++ b/session.h
@@ -49,8 +49,8 @@ class session_t : public xml::xpath_t::scope_t
std::list<journal_t *> journals;
std::list<parser_t *> parsers;
- session_t(xml::xpath_t::scope_t * parent = NULL) :
- xml::xpath_t::scope_t(parent),
+ session_t(xml::xpath_t::scope_t * _parent = NULL) :
+ xml::xpath_t::scope_t(_parent),
register_format
("%((//entry)%{date} %-.20{payee}"
@@ -170,6 +170,7 @@ class session_t : public xml::xpath_t::scope_t
verbose_mode = true;
}
+#if 0
#ifdef USE_BOOST_PYTHON
void option_import(value_t&) {
python_import(optarg);
@@ -178,6 +179,7 @@ class session_t : public xml::xpath_t::scope_t
python_eval(std::cin, PY_EVAL_MULTI);
}
#endif
+#endif
};
} // namespace ledger