diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-02 21:07:19 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-02 21:55:47 -0500 |
commit | 4befcfa27d1e4b162512f6161f9f897862ccdf57 (patch) | |
tree | 4903d223c3df16bb14ce95180b2db67b38c91f4d /src/commodity.h | |
parent | 46e46dd5a337c009391583a679d6172cf4f5aa42 (diff) | |
download | fork-ledger-4befcfa27d1e4b162512f6161f9f897862ccdf57.tar.gz fork-ledger-4befcfa27d1e4b162512f6161f9f897862ccdf57.tar.bz2 fork-ledger-4befcfa27d1e4b162512f6161f9f897862ccdf57.zip |
Added Python interface for commodity_pool_t
Diffstat (limited to 'src/commodity.h')
-rw-r--r-- | src/commodity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commodity.h b/src/commodity.h index 25397131..d30a0847 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -222,8 +222,6 @@ protected: #endif // HAVE_BOOST_SERIALIZATION }; - static bool symbol_needs_quotes(const string& symbol); - shared_ptr<base_t> base; commodity_pool_t * parent_; @@ -247,6 +245,8 @@ public: operator bool() const; + static bool symbol_needs_quotes(const string& symbol); + bool is_annotated() const { return annotated; } |