From 21d4d5f0de6bd8ed1cdab4f7fe6b9596dd390252 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Thu, 6 Apr 2017 17:22:23 +0200 Subject: Move clonk control specific parts into ClonkControl There are still many clonk commands hardcoded through the pass-CRSM-Commands --- src/ClonkInterface.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ClonkInterface.cpp') diff --git a/src/ClonkInterface.cpp b/src/ClonkInterface.cpp index 8d6ab98..036b931 100644 --- a/src/ClonkInterface.cpp +++ b/src/ClonkInterface.cpp @@ -31,6 +31,13 @@ void ClonkOutputInterface::gameStarted() {} void ClonkOutputInterface::masterserverError(const QString &msg) { Q_UNUSED(msg); } +ClonkControlInterface::~ClonkControlInterface() {} + +void ClonkControlInterface::setController(ClonkControllerInterface *controller) +{ + this->controller = controller; +} + ClonkParser::ClonkParser(CRSMSession &session) : Session(session) { -- cgit v1.2.3-54-g00ecf