diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-02 23:11:09 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-02 23:11:09 -0400 |
commit | 626b6a17eb71d4f5308dbedaa53e890c74c1acd1 (patch) | |
tree | b530c8cf1679a4b241c040df195e1b251dfa3062 /src/generate.h | |
parent | cda19829bd1100d6563b48ddb121f2afc1c55d95 (diff) | |
parent | 6ceda8320fcd81376c3b8a8bc81e48b9e87f1926 (diff) | |
download | fork-ledger-626b6a17eb71d4f5308dbedaa53e890c74c1acd1.tar.gz fork-ledger-626b6a17eb71d4f5308dbedaa53e890c74c1acd1.tar.bz2 fork-ledger-626b6a17eb71d4f5308dbedaa53e890c74c1acd1.zip |
Merge branch 'next'
Diffstat (limited to 'src/generate.h')
-rw-r--r-- | src/generate.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/generate.h b/src/generate.h index 3d9965a5..f0f58064 100644 --- a/src/generate.h +++ b/src/generate.h @@ -110,10 +110,11 @@ public: protected: void generate_string(std::ostream& out, int len, bool only_alpha = false); bool generate_account(std::ostream& out, bool no_virtual = false); - void generate_commodity(std::ostream& out); + void generate_commodity(std::ostream& out, const string& exclude = ""); string generate_amount(std::ostream& out, - value_t not_this_amount = NULL_VALUE, - bool no_negative = false); + value_t not_this_amount = NULL_VALUE, + bool no_negative = false, + const string& exclude = ""); bool generate_post(std::ostream& out, bool no_amount = false); void generate_cost(std::ostream& out, value_t amount); void generate_date(std::ostream& out); |