Showing the changes to libraries/script-engine/src/qtscript/ScriptProgramQtWrapper.h (1 of 22 files). Show all
Unified · Split
| @@ -9,6 +9,9 @@ · 8 unmodified lines | |||
| 9 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | 9 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html |
| 10 | // | 10 | // |
| 11 | 11 | ||
| 12 | /// @addtogroup ScriptEngine | ||
| 13 | /// @{ | ||
| 14 | |||
| 12 | #ifndef hifi_ScriptProgramQtWrapper_h | 15 | #ifndef hifi_ScriptProgramQtWrapper_h |
| 13 | #define hifi_ScriptProgramQtWrapper_h | 16 | #define hifi_ScriptProgramQtWrapper_h |
| 14 | 17 | ||
| @@ -18,6 +21,7 @@ · 3 unmodified lines | |||
| 18 | #include "../ScriptProgram.h" | 21 | #include "../ScriptProgram.h" |
| 19 | #include "ScriptEngineQtScript.h" | 22 | #include "ScriptEngineQtScript.h" |
| 20 | 23 | ||
| 24 | /// [QtScript] Implements ScriptProgram for QtScript and translates calls for QScriptProgram | ||
| 21 | class ScriptProgramQtWrapper : public ScriptProgram { | 25 | class ScriptProgramQtWrapper : public ScriptProgram { |
| 22 | public: // construction | 26 | public: // construction |
| 23 | inline ScriptProgramQtWrapper(ScriptEngineQtScript* engine, const QScriptProgram& value) : | 27 | inline ScriptProgramQtWrapper(ScriptEngineQtScript* engine, const QScriptProgram& value) : |
| @@ -52,4 +56,6 @@ private: // storage · 28 unmodified lines | |||
| 52 | QScriptSyntaxCheckResult _value; | 56 | QScriptSyntaxCheckResult _value; |
| 53 | }; | 57 | }; |
| 54 | 58 | ||
| 55 | #endif // hifi_ScriptValueQtWrapper_h | 59 | #endif // hifi_ScriptValueQtWrapper_h |
| 60 | |||
| 61 | /// @} | ||