History

Move WebSocketServer to be accessable from Assignment-Client:Agent only.

Thijs Wenker committed 11 years ago

Commit d89ecc11 parent d3a68333 files · +42 −39Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 3 files). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+0−4
@@ -39,7 +39,6 @@ · 38 unmodified lines
3939 #include "TypedArrays.h"
4040 #include "XMLHttpRequestClass.h"
4141 #include "WebSocketClass.h"
42−#include "WebSocketServerClass.h"
4342
4443 #include "SceneScriptingInterface.h"
4544
@@ -348,9 +347,6 @@ void ScriptEngine::init() { · 302 unmodified lines
348347 QScriptValue webSocketConstructorValue = newFunction(WebSocketClass::constructor);
349348 globalObject().setProperty("WebSocket", webSocketConstructorValue);
350349
351− QScriptValue webSocketServerConstructorValue = newFunction(WebSocketServerClass::constructor);
352− globalObject().setProperty("WebSocketServer", webSocketServerConstructorValue);
353−
354350 QScriptValue printConstructorValue = newFunction(debugPrint);
355351 globalObject().setProperty("print", printConstructorValue);
356352