35 lines · 1.0 KB · C
RawDownload
////  AbstractScriptingServicesInterface.h//  interface/src/script-engine////  Created by Brad Hefta-Gaub on 12/16/14.//  Copyright 2014 High Fidelity, Inc.//  Copyright 2023 Overte e.V.////  Distributed under the Apache License, Version 2.0.//  See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html//  SPDX-License-Identifier: Apache-2.0// /// @addtogroup ScriptEngine/// @{ #ifndef hifi_AbstractScriptingServicesInterface_h#define hifi_AbstractScriptingServicesInterface_h #include <memory> class ScriptManager;using ScriptManagerPointer = std::shared_ptr<ScriptManager>; /// Interface provided by Application to other objects that need access to scripting services of the applicationclass AbstractScriptingServicesInterface {public:    /// Registers application specific services with a script engine.    virtual void registerScriptEngineWithApplicationServices(ScriptManagerPointer& scriptEngine) = 0;};  #endif // hifi_AbstractScriptingServicesInterface_h /// @}