aboutsummaryrefslogtreecommitdiff
path: root/Parser.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-18 15:43:25 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-18 15:43:25 +0200
commit76e61d68bbf568ec0d7fc4632e52d4de5496b003 (patch)
tree92a2dc9b12a542456bdc154f44deb34925883210 /Parser.h
parent3f63576819151ff15237a9b4f0651c538cfef067 (diff)
(1/2) rename
Diffstat (limited to 'Parser.h')
-rw-r--r--Parser.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Parser.h b/Parser.h
index 38ce658..5430366 100644
--- a/Parser.h
+++ b/Parser.h
@@ -1,15 +1,15 @@
#pragma once
-#include "FileStrategy.h"
-#include "Deserializer.h"
-#include "ParserStrategy.h"
+#include "FileReader.h"
+#include "MuseumDeserializer.h"
+#include "Parser.h"
-class Parser {
- typedef std::vector<ParserStrategy*> ParserCollection;
+class ParserFactory {
+ typedef std::vector<Parser*> ParserCollection;
public:
- static void parse(FileStrategy & f, Deserializer & d);
- static void register_strategy(ParserStrategy * p);
+ static void parse(FileReader & f, MuseumDeserializer & d);
+ static void register_strategy(Parser * p);
private:
static ParserCollection & get_collection() {