diff --git a/interface/src/scripting/DomainManagementScriptingInterface.cpp b/interface/src/scripting/DomainManagementScriptingInterface.cpp deleted file mode 100644 index 593fedad3c..0000000000 --- a/interface/src/scripting/DomainManagementScriptingInterface.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// -// DomainManagementScriptingInterface.cpp -// interface/src/scripting -// -// Created by Liv Erickson on 7/21/17. -// Copyright 2017 High Fidelity, Inc. -// -// Distributed under the Apache License, Version 2.0. -// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html -// -#include "DomainManagementScriptingInterface.h" -#include "Application.h" -#include "OffscreenUi.h" - -DomainManagementScriptingInterface::DomainManagementScriptingInterface() -{ - auto nodeList = DependencyManager::get(); - connect(nodeList.data(), &NodeList::canReplaceContentChanged, this, &DomainManagementScriptingInterface::canReplaceDomainContentChanged); -} - -DomainManagementScriptingInterface::~DomainManagementScriptingInterface() { - auto nodeList = DependencyManager::get(); - disconnect(nodeList.data(), &NodeList::canReplaceContentChanged, this, &DomainManagementScriptingInterface::canReplaceDomainContentChanged); -} - -bool DomainManagementScriptingInterface::canReplaceDomainContent() { - auto nodeList = DependencyManager::get(); - return nodeList->getThisNodeCanReplaceContent(); -} diff --git a/interface/src/scripting/DomainManagementScriptingInterface.h b/interface/src/scripting/DomainManagementScriptingInterface.h deleted file mode 100644 index 85955254c7..0000000000 --- a/interface/src/scripting/DomainManagementScriptingInterface.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// DomainManagementScriptingInterface.h -// interface/src/scripting -// -// Created by Liv Erickson on 7/21/17. -// Copyright 2017 High Fidelity, Inc. -// -// Distributed under the Apache License, Version 2.0. -// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html -// -#ifndef hifi_DomainManagementScriptingInterface_h -#define hifi_DomainManagementScriptingInterface_h - -#include -#include -#include -#include -#include -#include -#include - -#include "BaseScriptEngine.h" - - -class DomainManagementScriptingInterface : public QObject, public Dependency { -Q_OBJECT -public: - DomainManagementScriptingInterface(); - ~DomainManagementScriptingInterface(); - - -public slots: - Q_INVOKABLE bool canReplaceDomainContent(); - -signals: - void canReplaceDomainContentChanged(bool canReplaceDomainContent); -}; - -#endif //hifi_DomainManagementScriptingInterface_h \ No newline at end of file