Showing the changes to libraries/script-engine/src/EntitiesScriptEngineProvider.h (1 of 53 files). Show all
Unified · Split
| @@ -0,0 +1,28 @@ | |||
| 1 | // | ||
| 2 | // EntitiesScriptEngineProvider.h | ||
| 3 | // libraries/script-engine/src | ||
| 4 | // | ||
| 5 | // Created by Brad Hefta-Gaub on Sept. 18, 2015 | ||
| 6 | // Copyright 2015 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 | // TODO: How will we handle collision callbacks with Entities | ||
| 12 | // | ||
| 13 | |||
| 14 | #ifndef hifi_EntitiesScriptEngineProvider_h | ||
| 15 | #define hifi_EntitiesScriptEngineProvider_h | ||
| 16 | |||
| 17 | #include <QtCore/QString> | ||
| 18 | #include <QFuture> | ||
| 19 | #include "EntityItemID.h" | ||
| 20 | |||
| 21 | class EntitiesScriptEngineProvider { | ||
| 22 | public: | ||
| 23 | virtual void callEntityScriptMethod(const EntityItemID& entityID, const QString& methodName, | ||
| 24 | const QStringList& params = QStringList(), const QUuid& remoteCallerID = QUuid()) = 0; | ||
| 25 | virtual QFuture<QVariant> getLocalEntityScriptDetails(const EntityItemID& entityID) = 0; | ||
| 26 | }; | ||
| 27 | |||
| 28 | #endif // hifi_EntitiesScriptEngineProvider_h | ||