diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-09 17:08:46 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-09 17:08:46 +0200 |
commit | 76950c6100371c28f82f2e130dcfdb7d7dac97df (patch) | |
tree | 477714a58f6c6aecc65e5044cf6b1df41d40943a /Parser.h | |
parent | 54831ea869e7e9da3e7b911f57de5949067c0bc5 (diff) |
WIP boilerplate engineering
Diffstat (limited to 'Parser.h')
-rw-r--r-- | Parser.h | 14 |
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); +}; + |