diff options
Diffstat (limited to 'Parser.h')
-rw-r--r-- | Parser.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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() { |