diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-07 10:24:46 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:38 -0400 |
commit | 06e7c2820242ea5130a63305836f822ccb409a92 (patch) | |
tree | d59d4ad1e85c0319cebe203858bf1924ffa1d205 /src/commodity.h | |
parent | 7868a53b70bd08b79007386dbb5b1590bfb2e457 (diff) | |
download | fork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.tar.gz fork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.tar.bz2 fork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.zip |
Rearranged many method names.
Diffstat (limited to 'src/commodity.h')
-rw-r--r-- | src/commodity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commodity.h b/src/commodity.h index 93c1f3be..fc1a23de 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -183,6 +183,9 @@ public: void set_flags(flags_t arg) { base->flags = arg; } + bool has_flags(flags_t arg) { + return base->flags & arg; + } void add_flags(flags_t arg) { base->flags |= arg; } |