aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/CodegenOutput.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-27 17:31:04 -0700
committerrtk0c <[email protected]>2022-05-27 17:31:04 -0700
commit6c3007295a6a8c6803933392834c974ec5f56aa0 (patch)
treeeb97cf2510f90dce62db4e1cf66d829ef1c436af /buildtools/codegen/CodegenOutput.hpp
parent30e7501b006e55bdeec0db18709d3fd4c5db86b5 (diff)
Changeset: 41 Add logic to parse enums
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);
+};