Showing the changes to libraries/script-engine/src/AbstractScriptingServicesInterface.h (1 of 3 files). Show all
Unified · Split
| @@ -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 | |