aboutsummaryrefslogtreecommitdiff
path: root/Parser.h
diff options
context:
space:
mode:
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() {