Showing the changes to libraries/script-engine/src/ScriptEngine.h (1 of 2 files). Show all
Unified · Split
| @@ -146,7 +146,7 @@ public: · 145 unmodified lines | |||
| 146 | /// to run... NOTE - this is used by Application currently to load the url. We don't really want it to be exposed | 146 | /// to run... NOTE - this is used by Application currently to load the url. We don't really want it to be exposed |
| 147 | /// to scripts. we may not need this to be invokable | 147 | /// to scripts. we may not need this to be invokable |
| 148 | void loadURL(const QUrl& scriptURL, bool reload); | 148 | void loadURL(const QUrl& scriptURL, bool reload); |
| 149 | bool hasValidScriptSuffix(const QString& scriptFileName); | 149 | bool hasValidScriptSuffix(const QString& scriptFileName); |
| 150 | 150 | ||
| 151 | Q_INVOKABLE QString getContext() const; | 151 | Q_INVOKABLE QString getContext() const; |
| 152 | Q_INVOKABLE bool isClientScript() const { return _context == CLIENT_SCRIPT; } | 152 | Q_INVOKABLE bool isClientScript() const { return _context == CLIENT_SCRIPT; } |