summaryrefslogtreecommitdiffstats
path: root/include/ingen/ColorContext.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ingen/ColorContext.hpp')
-rw-r--r--include/ingen/ColorContext.hpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/ingen/ColorContext.hpp b/include/ingen/ColorContext.hpp
index aadb2980..666a044e 100644
--- a/include/ingen/ColorContext.hpp
+++ b/include/ingen/ColorContext.hpp
@@ -17,23 +17,29 @@
#ifndef INGEN_COLORCONTEXT_HPP
#define INGEN_COLORCONTEXT_HPP
-#include "ingen/ingen.h"
+#include <ingen/ingen.h>
#include <cstdio>
namespace ingen {
-class INGEN_API ColorContext {
+class INGEN_API ColorContext
+{
public:
enum class Color { RED = 31, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE };
ColorContext(FILE* stream, Color color);
~ColorContext();
+ ColorContext(const ColorContext&) = delete;
+ ColorContext& operator=(const ColorContext&) = delete;
+ ColorContext(ColorContext&&) = delete;
+ ColorContext& operator=(ColorContext&&) = delete;
+
private:
FILE* _stream;
};
-} // namespace ingen
+} // namespace ingen
-#endif // INGEN_COLORCONTEXT_HPP
+#endif // INGEN_COLORCONTEXT_HPP