mirror of
https://github.com/overte-org/overte.git
synced 2025-07-11 03:18:38 +02:00
28 lines
951 B
C++
28 lines
951 B
C++
//
|
|
// EntitiesScriptEngineProvider.h
|
|
// libraries/script-engine/src
|
|
//
|
|
// Created by Brad Hefta-Gaub on Sept. 18, 2015
|
|
// Copyright 2015 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
|
|
//
|
|
// TODO: How will we handle collision callbacks with Entities
|
|
//
|
|
|
|
#ifndef hifi_EntitiesScriptEngineProvider_h
|
|
#define hifi_EntitiesScriptEngineProvider_h
|
|
|
|
#include <QtCore/QString>
|
|
#include <QFuture>
|
|
#include "EntityItemID.h"
|
|
|
|
class EntitiesScriptEngineProvider {
|
|
public:
|
|
virtual void callEntityScriptMethod(const EntityItemID& entityID, const QString& methodName,
|
|
const QStringList& params = QStringList(), const QUuid& remoteCallerID = QUuid()) = 0;
|
|
virtual QFuture<QVariant> getLocalEntityScriptDetails(const EntityItemID& entityID) = 0;
|
|
};
|
|
|
|
#endif // hifi_EntitiesScriptEngineProvider_h
|