diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-19 21:53:02 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-19 22:24:24 -0500 |
commit | 4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2 (patch) | |
tree | e4bce67522d52cd7be03544501191d761dce7799 /src/amount.h | |
parent | 6e31328bd62d15e8da4238394abd8de65539cfa2 (diff) | |
download | fork-ledger-4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2.tar.gz fork-ledger-4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2.tar.bz2 fork-ledger-4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2.zip |
Many improvements to Ledger's Python bindings
Diffstat (limited to 'src/amount.h')
-rw-r--r-- | src/amount.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/amount.h b/src/amount.h index c75370e3..a8c08905 100644 --- a/src/amount.h +++ b/src/amount.h @@ -97,12 +97,8 @@ class amount_t ordered_field_operators<amount_t, long> > > > { public: - /** Indicates which commodity pool should be used. */ - static shared_ptr<commodity_pool_t> current_pool; - /** Ready the amount subsystem for use. @note Normally called by session_t::initialize(). */ - static void initialize(shared_ptr<commodity_pool_t> pool); static void initialize(); /** Shutdown the amount subsystem and free all resources. @note Normally called by session_t::shutdown(). */ @@ -577,7 +573,7 @@ public: been stripped. */ void annotate(const annotation_t& details); - bool is_annotated() const; + bool has_annotation() const; annotation_t& annotation(); const annotation_t& annotation() const { |