mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 09:36:18 +02:00
33 lines
1 KiB
C++
33 lines
1 KiB
C++
//
|
|
// AbstractScriptingServicesInterface.h
|
|
// interface/src/script-engine
|
|
//
|
|
// Created by Brad Hefta-Gaub on 12/16/14.
|
|
// Copyright 2014 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#ifndef hifi_AbstractScriptingServicesInterface_h
|
|
#define hifi_AbstractScriptingServicesInterface_h
|
|
|
|
class AbstractControllerScriptingInterface;
|
|
class Transform;
|
|
class ScriptEngine;
|
|
class QThread;
|
|
|
|
/// Interface provided by Application to other objects that need access to scripting services of the application
|
|
class AbstractScriptingServicesInterface {
|
|
public:
|
|
|
|
/// Returns the controller interface for the application
|
|
virtual AbstractControllerScriptingInterface* getControllerScriptingInterface() = 0;
|
|
|
|
/// Registers application specific services with a script engine.
|
|
virtual void registerScriptEngineWithApplicationServices(ScriptEngine* scriptEngine) = 0;
|
|
|
|
};
|
|
|
|
|
|
#endif // hifi_AbstractScriptingServicesInterface_h
|