mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-07 03:49:43 -05:00
Remove external control callback
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user