diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-22 14:44:47 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-22 14:44:47 +0200 |
commit | 8c0562c8ef37cd5e80c58609f7bc7ae352365f65 (patch) | |
tree | 42e9906c5ddf1b0e719ee3eb7b965a444be64c38 /TXTParser.cpp | |
parent | bc02054d56118110a36aea72d21f9d5e73d07d1f (diff) |
refactor parser factory
Diffstat (limited to 'TXTParser.cpp')
-rw-r--r-- | TXTParser.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/TXTParser.cpp b/TXTParser.cpp index e19f343..17890e0 100644 --- a/TXTParser.cpp +++ b/TXTParser.cpp @@ -1,16 +1,10 @@ #include "TXTParser.h" -#include "ParserFactory.h" -TXTParser TXTParser::instance {}; -TXTParser::TXTParser() { - ParserFactory::register_strategy(this); -} - -unsigned int TXTParser::heuristic(FileReader & f) { +unsigned int TXTParser::heuristic() { return 0; } -void TXTParser::parse(FileReader & f, MuseumDeserializer & d) { +void TXTParser::parse(MuseumDeserializer & d) { printf("%s\n", __PRETTY_FUNCTION__); } |