From 8c0562c8ef37cd5e80c58609f7bc7ae352365f65 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 22 Oct 2024 14:44:47 +0200 Subject: refactor parser factory --- CSVParser.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'CSVParser.h') diff --git a/CSVParser.h b/CSVParser.h index 660cc18..2e3231b 100644 --- a/CSVParser.h +++ b/CSVParser.h @@ -3,12 +3,10 @@ #include "Parser.h" class CSVParser : public Parser { -public: - virtual void parse(FileReader & f, MuseumDeserializer & d); - virtual unsigned int heuristic(FileReader & f); + friend class ParserFactory; -private: - static CSVParser instance; - CSVParser(); +public: + virtual void parse(MuseumDeserializer & d); + virtual unsigned int heuristic(); }; -- cgit v1.2.3