From 6c3007295a6a8c6803933392834c974ec5f56aa0 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Fri, 27 May 2022 17:31:04 -0700 Subject: Changeset: 41 Add logic to parse enums --- buildtools/codegen/CodegenOutput.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 buildtools/codegen/CodegenOutput.hpp (limited to 'buildtools/codegen/CodegenOutput.hpp') 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 +#include + +// 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 mOutThings; + +public: + void AddOutputThing(CodegenOutputThing thing); +}; -- cgit v1.2.3-70-g09d2