From 3fe710cb029522b86ef27c322f0cb793b1368051 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Tue, 21 Mar 2017 22:00:59 +0100 Subject: Move Parser into own class --- src/PatchedClonkParser.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/PatchedClonkParser.hpp (limited to 'src/PatchedClonkParser.hpp') diff --git a/src/PatchedClonkParser.hpp b/src/PatchedClonkParser.hpp new file mode 100644 index 0000000..dd4a661 --- /dev/null +++ b/src/PatchedClonkParser.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include "ClonkInterface.hpp" + +class PatchedClonkParser : public ClonkParser +{ +public: + PatchedClonkParser(CRSMSession& session); + + void parseMessage(const QString& line); + +protected: + ClientInfo& getClientInfo(const QString& pcName, int CUID, const QString& user); +}; -- cgit v1.2.3-54-g00ecf