Showing the changes to libraries/script-engine/src/ScriptEngine.h (1 of 3 files). Show all
Unified · Split
| @@ -43,6 +43,7 @@ · 42 unmodified lines | |||
| 43 | #include "Vec3.h" | 43 | #include "Vec3.h" |
| 44 | #include "ConsoleScriptingInterface.h" | 44 | #include "ConsoleScriptingInterface.h" |
| 45 | #include "SettingHandle.h" | 45 | #include "SettingHandle.h" |
| 46 | #include "Profile.h" | ||
| 46 | 47 | ||
| 47 | class QScriptEngineDebugger; | 48 | class QScriptEngineDebugger; |
| 48 | 49 | ||
| @@ -182,6 +183,8 @@ public: · 133 unmodified lines | |||
| 182 | Q_INVOKABLE void print(const QString& message); | 183 | Q_INVOKABLE void print(const QString& message); |
| 183 | Q_INVOKABLE QUrl resolvePath(const QString& path) const; | 184 | Q_INVOKABLE QUrl resolvePath(const QString& path) const; |
| 184 | Q_INVOKABLE QUrl resourcesPath() const; | 185 | Q_INVOKABLE QUrl resourcesPath() const; |
| 186 | Q_INVOKABLE void beginProfileRange(const QString& label) const; | ||
| 187 | Q_INVOKABLE void endProfileRange(const QString& label) const; | ||
| 185 | 188 | ||
| 186 | // Entity Script Related methods | 189 | // Entity Script Related methods |
| 187 | Q_INVOKABLE bool isEntityScriptRunning(const EntityItemID& entityID) { | 190 | Q_INVOKABLE bool isEntityScriptRunning(const EntityItemID& entityID) { |