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