History

Add test mode to interface

Brad Davis committed 9 years ago

Commit 2a43f5f1 parent 06b73886 files · +183 −67Browse files

Showing the changes to interface/src/scripting/TestScriptingInterface.cpp (1 of 6 files). Show all

Unified · Split

interface/src/scripting/TestScriptingInterface.cpp+30−0
@@ -0,0 +1,30 @@
1+//
2+// Created by Bradley Austin Davis on 2016/12/12
3+// Copyright 2013-2016 High Fidelity, Inc.
4+//
5+// Distributed under the Apache License, Version 2.0.
6+// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
7+//
8+
9+
10+#include "TestScriptingInterface.h"
11+
12+#include <QtCore/QCoreApplication>
13+
14+TestScriptingInterface* TestScriptingInterface::getInstance() {
15+ static TestScriptingInterface sharedInstance;
16+ return &sharedInstance;
17+}
18+
19+void TestScriptingInterface::quit() {
20+ qApp->quit();
21+}
22+
23+void TestScriptingInterface::waitForTextureIdle() {
24+}
25+
26+void TestScriptingInterface::waitForDownloadIdle() {
27+}
28+
29+void TestScriptingInterface::waitIdle() {
30+}