Showing the changes to libraries/script-engine/src/ScriptEngine.h (1 of 5 files). Show all
Unified · Split
| @@ -199,6 +199,7 @@ public: · 198 unmodified lines | |||
| 199 | void scriptWarningMessage(const QString& message); | 199 | void scriptWarningMessage(const QString& message); |
| 200 | void scriptInfoMessage(const QString& message); | 200 | void scriptInfoMessage(const QString& message); |
| 201 | 201 | ||
| 202 | int getNumRunningEntityScripts() const; | ||
| 202 | bool getEntityScriptDetails(const EntityItemID& entityID, EntityScriptDetails &details) const; | 203 | bool getEntityScriptDetails(const EntityItemID& entityID, EntityScriptDetails &details) const; |
| 203 | 204 | ||
| 204 | public slots: | 205 | public slots: |
| @@ -222,6 +223,10 @@ signals: · 17 unmodified lines | |||
| 222 | void reloadScript(const QString& scriptName, bool isUserLoaded); | 223 | void reloadScript(const QString& scriptName, bool isUserLoaded); |
| 223 | void doneRunning(); | 224 | void doneRunning(); |
| 224 | 225 | ||
| 226 | // Emitted when an entity script is added or removed, or when the status of an entity | ||
| 227 | // script is updated (goes from RUNNING to ERROR_RUNNING_SCRIPT, for example) | ||
| 228 | void entityScriptDetailsUpdated(); | ||
| 229 | |||
| 225 | protected: | 230 | protected: |
| 226 | void init(); | 231 | void init(); |
| 227 | 232 | ||