summaryrefslogtreecommitdiffstats
path: root/src/PatchedClonkParser.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2017-03-21 22:00:59 +0100
committerMarkus Mittendrein <git@maxmitti.tk>2017-04-06 12:00:13 +0200
commit3fe710cb029522b86ef27c322f0cb793b1368051 (patch)
treea927da96f3851f68e2b16d40f2d20b73d67cce1d /src/PatchedClonkParser.hpp
parente56c72bf1a0edda6deb3da548923939a88fd930b (diff)
downloadmanager-3fe710cb029522b86ef27c322f0cb793b1368051.tar.gz
manager-3fe710cb029522b86ef27c322f0cb793b1368051.zip
Move Parser into own class
Diffstat (limited to 'src/PatchedClonkParser.hpp')
-rw-r--r--src/PatchedClonkParser.hpp14
1 files changed, 14 insertions, 0 deletions
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);
+};