History

more Application dependency cleanup

ZappoMan committed 11 years ago

Commit d3bf28e1 parent 3dfded83 files · +60 −0Browse files

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

Unified · Split

libraries/script-engine/src/AbstractScriptingServicesInterface.h+35−0
@@ -0,0 +1,35 @@
1+//
2+// AbstractScriptingServicesInterface.h
3+// interface/src/script-engine
4+//
5+// Created by Brad Hefta-Gaub on 12/16/14.
6+// Copyright 2014 High Fidelity, Inc.
7+//
8+// Distributed under the Apache License, Version 2.0.
9+// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10+//
11+
12+#ifndef hifi_AbstractScriptingServicesInterface_h
13+#define hifi_AbstractScriptingServicesInterface_h
14+
15+//#include <ViewFrustum.h>
16+
17+class AbstractControllerScriptingInterface;
18+class Transform;
19+class ScriptEngine;
20+class QThread;
21+
22+/// Interface provided by Application to other objects that need access to scripting services of the application
23+class AbstractScriptingServicesInterface {
24+public:
25+
26+ /// Returns the controller interface for the application
27+ virtual AbstractControllerScriptingInterface* getControllerScriptingInterface() = 0;
28+
29+ /// Registers application specific services with a script engine.
30+ virtual void registerScriptEngineWithApplicationServices(ScriptEngine* scriptEngine) = 0;
31+
32+};
33+
34+
35+#endif // hifi_AbstractScriptingServicesInterface_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