Showing the changes to libraries/script-engine/src/ScriptCache.h (1 of 3 files). Show all
Unified · Split
| @@ -27,6 +27,7 @@ class ScriptCache : public QObject, public Dependency { · 26 unmodified lines | |||
| 27 | 27 | ||
| 28 | public: | 28 | public: |
| 29 | QString getScript(const QUrl& url, ScriptUser* scriptUser, bool& isPending); | 29 | QString getScript(const QUrl& url, ScriptUser* scriptUser, bool& isPending); |
| 30 | void deleteScript(const QUrl& url); | ||
| 30 | void addScriptToBadScriptList(const QUrl& url) { _badScripts.insert(url); } | 31 | void addScriptToBadScriptList(const QUrl& url) { _badScripts.insert(url); } |
| 31 | bool isInBadScriptList(const QUrl& url) { return _badScripts.contains(url); } | 32 | bool isInBadScriptList(const QUrl& url) { return _badScripts.contains(url); } |
| 32 | 33 | ||