Overte C++ Documentation
AbstractScriptingServicesInterface.h
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 // Copyright 2023 Overte e.V.
8 //
9 // Distributed under the Apache License, Version 2.0.
10 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
11 // SPDX-License-Identifier: Apache-2.0
12 //
13 
16 
17 #ifndef hifi_AbstractScriptingServicesInterface_h
18 #define hifi_AbstractScriptingServicesInterface_h
19 
20 #include <memory>
21 
22 class ScriptManager;
23 using ScriptManagerPointer = std::shared_ptr<ScriptManager>;
24 
27 public:
29  virtual void registerScriptEngineWithApplicationServices(ScriptManagerPointer& scriptEngine) = 0;
30 };
31 
32 
33 #endif // hifi_AbstractScriptingServicesInterface_h
34 
Interface provided by Application to other objects that need access to scripting services of the appl...
Definition: AbstractScriptingServicesInterface.h:26
virtual void registerScriptEngineWithApplicationServices(ScriptManagerPointer &scriptEngine)=0
Registers application specific services with a script engine.
Manages a single scripting engine.
Definition: ScriptManager.h:281