aboutsummaryrefslogtreecommitdiff
path: root/CSVParser.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-22 14:44:47 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-22 14:44:47 +0200
commit8c0562c8ef37cd5e80c58609f7bc7ae352365f65 (patch)
tree42e9906c5ddf1b0e719ee3eb7b965a444be64c38 /CSVParser.h
parentbc02054d56118110a36aea72d21f9d5e73d07d1f (diff)
refactor parser factory
Diffstat (limited to 'CSVParser.h')
-rw-r--r--CSVParser.h10
1 files changed, 4 insertions, 6 deletions
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();
};