summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/amount.h b/src/amount.h
index 49f33417..faea8b8e 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -677,7 +677,13 @@ public:
true, the full internal precision of the amount is displayed, regardless
of its commodity's display precision.
*/
- void print(std::ostream& out) const;
+#define AMOUNT_PRINT_NO_FLAGS 0x00
+#define AMOUNT_PRINT_RIGHT_JUSTIFY 0x01
+#define AMOUNT_PRINT_COLORIZE 0x02
+#define AMOUNT_PRINT_NO_COMPUTED_ANNOTATIONS 0x04
+
+ void print(std::ostream& out,
+ const uint_least8_t flags = AMOUNT_PRINT_NO_FLAGS) const;
/*@}*/