summaryrefslogtreecommitdiff
path: root/Color.hh
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-06-01 15:35:07 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-06-01 15:35:07 +0800
commitf90115fba35887aea8d4064b57f4909cd6937134 (patch)
tree026130ea8c58e5f3ae2e65769d87d2c69b76acb0 /Color.hh
parent31d35de96576d2cddc134cdd0646ce4966052ae3 (diff)
color support
Diffstat (limited to 'Color.hh')
-rw-r--r--Color.hh21
1 files changed, 21 insertions, 0 deletions
diff --git a/Color.hh b/Color.hh
new file mode 100644
index 0000000..91804d2
--- /dev/null
+++ b/Color.hh
@@ -0,0 +1,21 @@
+#ifndef PCC_COLOR_HH
+#define PCC_COLOR_HH
+
+#include <iostream>
+
+namespace pcc {
+enum class Color {
+ BLACK,
+ RED,
+ BLUE,
+ GREEN,
+ YELLOW,
+ CYAN,
+ MAGENTA,
+ WHITE,
+ DEFAULT
+};
+
+std::ostream& operator<<(std::ostream& out, Color color);
+} // namespace pcc
+#endif // !PCC_COLOR_HH