History

shifting classes around and adding static initializers to resolve dependencies on scripting-engine (and drop dependencies from scripting-engine)

Heather Anderson committed 5 years ago

Commit 665ea521 parent 1f4f45853 files · +457 −404Browse files

Showing the changes to libraries/script-engine/src/EntitiesScriptEngineProvider.h (1 of 53 files). Show all

Unified · Split

libraries/script-engine/src/EntitiesScriptEngineProvider.h+28−0
@@ -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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t