summaryrefslogtreecommitdiff
path: root/src/pool.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-02 16:58:10 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-02 16:58:10 -0500
commitcec0f5ec4932e31aa9a0a09af63b9f4f0bca1d85 (patch)
tree98291a2dcfdfd77bfa6a91979e1605d749ba807e /src/pool.h
parent3f8c126c798d575d27d199ee3337499f338dc1ee (diff)
downloadfork-ledger-cec0f5ec4932e31aa9a0a09af63b9f4f0bca1d85.tar.gz
fork-ledger-cec0f5ec4932e31aa9a0a09af63b9f4f0bca1d85.tar.bz2
fork-ledger-cec0f5ec4932e31aa9a0a09af63b9f4f0bca1d85.zip
Moved make_qualified_name into commodity_pool_t
Diffstat (limited to 'src/pool.h')
-rw-r--r--src/pool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pool.h b/src/pool.h
index 6fce0c59..7e54e595 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -98,6 +98,9 @@ public:
checked_delete(pair.second);
}
+ string make_qualified_name(const commodity_t& comm,
+ const annotation_t& details);
+
commodity_t * create(const string& symbol);
commodity_t * find(const string& name);
commodity_t * find_or_create(const string& symbol);