From 9039e728b2015b54dc87da52f450c27683303392 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 23 Apr 2007 21:22:24 +0000 Subject: All system headers (except Boost) now included through system.hh; also, added support for pre-compiled headers since I'm now using a centralized resource for system headers. --- session.cc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'session.cc') diff --git a/session.cc b/session.cc index f0a6b837..8cd86e11 100644 --- a/session.cc +++ b/session.cc @@ -1,8 +1,4 @@ #include "session.h" -#include "debug.h" -#include "timing.h" - -#include namespace ledger { @@ -189,13 +185,22 @@ xml::xpath_t::op_t * session_t::lookup(const string& name) return xml::xpath_t::scope_t::lookup(name); } +void initialize() +{ + amount_t::initialize(); +} + +void shutdown() +{ + amount_t::shutdown(); + assert(live_count.size() == 0); +} + } // namespace ledger #if 0 #ifdef USE_BOOST_PYTHON -#include - using namespace boost::python; using namespace ledger; -- cgit v1.2.3