From c03ddf76cc63c4922a49ae67c60b0a356c904960 Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Mon, 17 Sep 2018 15:13:54 -0400 Subject: [PATCH] Remove external control callback --- include/openspace/engine/openspaceengine.h | 1 - src/engine/openspaceengine.cpp | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/include/openspace/engine/openspaceengine.h b/include/openspace/engine/openspaceengine.h index 42c4245eea..0bf56f5948 100644 --- a/include/openspace/engine/openspaceengine.h +++ b/include/openspace/engine/openspaceengine.h @@ -79,7 +79,6 @@ public: void mouseButtonCallback(MouseButton button, MouseAction action); void mousePositionCallback(double x, double y); void mouseScrollWheelCallback(double posX, double posY); - void externalControlCallback(const char* receivedChars, int size, int clientId); void encode(); void decode(); diff --git a/src/engine/openspaceengine.cpp b/src/engine/openspaceengine.cpp index dbd99f0c21..8b58b0a9a8 100644 --- a/src/engine/openspaceengine.cpp +++ b/src/engine/openspaceengine.cpp @@ -1239,18 +1239,6 @@ void OpenSpaceEngine::decode() { global::syncEngine.decodeSyncables(); } -void OpenSpaceEngine::externalControlCallback(const char* receivedChars, int size, - int /*clientId*/) -{ - // Not currently used anymore; should be replaced with a non-SGCT relient socket - - if (size == 0) { - return; - } - - global::networkEngine.handleMessage(std::string(receivedChars, size)); -} - void OpenSpaceEngine::toggleShutdownMode() { if (_shutdown.inShutdown) { // If we are already in shutdown mode, we want to disable it