summaryrefslogtreecommitdiff
path: root/src/expr.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-25 01:10:05 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-25 01:10:05 -0400
commit79a79766000a6440f651af50cfac3646171e8f0a (patch)
tree1b5a9a419ffd65770fd36ec55f9c0a608e5b1045 /src/expr.h
parent1ae1033090faf566f8577cc63ac10a2d4e0e1f7f (diff)
downloadfork-ledger-79a79766000a6440f651af50cfac3646171e8f0a.tar.gz
fork-ledger-79a79766000a6440f651af50cfac3646171e8f0a.tar.bz2
fork-ledger-79a79766000a6440f651af50cfac3646171e8f0a.zip
Reorganized Ledger so that it builds as 7 separate libraries. This is mainly
to prove to myself that it has proper decoupling between prior code areas.
Diffstat (limited to 'src/expr.h')
-rw-r--r--src/expr.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/expr.h b/src/expr.h
index ff92c55d..f61c0522 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -62,12 +62,15 @@ private:
string str;
bool compiled;
+public:
+ /**
+ * The initialize and shutdown methods ready the amount subsystem for
+ * use. Normally they are called by `session_t::initialize' and
+ * `session_t::shutdown'.
+ */
static void initialize();
static void shutdown();
- friend class session_t;
-
-public:
expr_t();
expr_t(const expr_t& other);
expr_t(const ptr_op_t& _ptr, const string& _str = "");