aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/CodegenOutput.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/codegen/CodegenOutput.hpp')
-rw-r--r--buildtools/codegen/CodegenOutput.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/buildtools/codegen/CodegenOutput.hpp b/buildtools/codegen/CodegenOutput.hpp
new file mode 100644
index 0000000..660feb1
--- /dev/null
+++ b/buildtools/codegen/CodegenOutput.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <string>
+#include <vector>
+
+// A generic "thing" (could be anything, comments, string-concated functionsm, etc.) to spit into the output file
+struct CodegenOutputThing {
+ std::string text;
+};
+
+class CodegenOutput {
+private:
+ std::vector<CodegenOutputThing> mOutThings;
+
+public:
+ void AddOutputThing(CodegenOutputThing thing);
+};