aboutsummaryrefslogtreecommitdiff
path: root/Parser.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-09 17:08:46 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-09 17:08:46 +0200
commit76950c6100371c28f82f2e130dcfdb7d7dac97df (patch)
tree477714a58f6c6aecc65e5044cf6b1df41d40943a /Parser.h
parent54831ea869e7e9da3e7b911f57de5949067c0bc5 (diff)
WIP boilerplate engineering
Diffstat (limited to 'Parser.h')
-rw-r--r--Parser.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Parser.h b/Parser.h
new file mode 100644
index 0000000..c867f9e
--- /dev/null
+++ b/Parser.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "File.h"
+#include "Deserializer.h"
+#include "ParserStrategy.h"
+
+class Parser {
+public:
+ static void parse(File & f, Deserializer & d);
+
+private:
+ static void register_strategy(ParserStrategy & p);
+};
+