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.h (1 of 6 files). Show all

Unified · Split

interface/src/scripting/TestScriptingInterface.h+43−0
@@ -0,0 +1,43 @@
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+#pragma once
10+#ifndef hifi_TestScriptingInterface_h
11+#define hifi_TestScriptingInterface_h
12+
13+#include <QtCore/QObject>
14+
15+class TestScriptingInterface : public QObject {
16+ Q_OBJECT
17+
18+public slots:
19+ static TestScriptingInterface* getInstance();
20+
21+ /**jsdoc
22+ * Exits the application
23+ */
24+ void quit();
25+
26+ /**jsdoc
27+ * Waits for all texture transfers to be complete
28+ */
29+ void waitForTextureIdle();
30+
31+ /**jsdoc
32+ * Waits for all pending downloads to be complete
33+ */
34+ void waitForDownloadIdle();
35+
36+ /**jsdoc
37+ * Waits for all pending downloads and texture transfers to be complete
38+ */
39+ void waitIdle();
40+
41+};
42+
43+#endif // hifi_TestScriptingInterface_h

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t