mirror of
https://github.com/lubosz/overte.git
synced 2025-04-12 19:12:33 +02:00
dropping dependencies from networking to script-engine by moving EntityScriptClient and LocationScriptingInterface
This commit is contained in:
parent
7964f06990
commit
45ef458af4
6 changed files with 13 additions and 15 deletions
libraries
networking
script-engine/src
plugins/hifiSdl2
|
@ -1,7 +1,6 @@
|
|||
set(TARGET_NAME networking)
|
||||
setup_hifi_library(Network WebSockets)
|
||||
link_hifi_libraries(shared platform)
|
||||
include_hifi_library_headers(script-engine)
|
||||
|
||||
target_openssl()
|
||||
target_tbb()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "EntityScriptClient.h"
|
||||
#include "NodeList.h"
|
||||
#include "NetworkLogging.h"
|
||||
#include <NodeList.h>
|
||||
#include <NetworkLogging.h>
|
||||
#include "EntityScriptUtils.h"
|
||||
|
||||
#include <QThread>
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// EntityScriptClient.h
|
||||
// libraries/networking/src
|
||||
// libraries/script-engine/src
|
||||
//
|
||||
// Created by Ryan Huffman on 2017/01/13
|
||||
// Copyright 2017 High Fidelity, Inc.
|
||||
|
@ -14,10 +14,10 @@
|
|||
|
||||
#include <QtCore/QSharedPointer>
|
||||
|
||||
#include "ClientServerUtils.h"
|
||||
#include "LimitedNodeList.h"
|
||||
#include "ReceivedMessage.h"
|
||||
#include "AssetUtils.h"
|
||||
#include <ClientServerUtils.h>
|
||||
#include <LimitedNodeList.h>
|
||||
#include <ReceivedMessage.h>
|
||||
#include <AssetUtils.h>
|
||||
#include "EntityScriptUtils.h"
|
||||
|
||||
#include <DependencyManager.h>
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// LocationScriptingInterface.cpp
|
||||
// libraries/networking/src
|
||||
// libraries/script-engine/src
|
||||
//
|
||||
// Created by Ryan Huffman on 4/29/14.
|
||||
// Copyright 2014 High Fidelity, Inc.
|
||||
|
@ -11,10 +11,10 @@
|
|||
|
||||
#include "LocationScriptingInterface.h"
|
||||
|
||||
#include "AddressManager.h"
|
||||
#include <ScriptContext.h>
|
||||
#include <ScriptEngine.h>
|
||||
#include <ScriptValue.h>
|
||||
#include <AddressManager.h>
|
||||
#include "ScriptContext.h"
|
||||
#include "ScriptEngine.h"
|
||||
#include "ScriptValue.h"
|
||||
|
||||
LocationScriptingInterface* LocationScriptingInterface::getInstance() {
|
||||
static LocationScriptingInterface sharedInstance;
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// LocationScriptingInterface.h
|
||||
// libraries/networking/src
|
||||
// libraries/script-engine/src
|
||||
//
|
||||
// Created by Ryan Huffman on 4/29/14.
|
||||
// Copyright 2014 High Fidelity, Inc.
|
|
@ -17,6 +17,5 @@ if (NOT APPLE)
|
|||
endif()
|
||||
setup_hifi_plugin(Qml)
|
||||
link_hifi_libraries(shared controllers ui plugins input-plugins)
|
||||
include_hifi_library_headers(script-engine)
|
||||
target_sdl2()
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue