| 32 | namespace Scripting { |
| 33 | |
| 34 | Script::Script(QObject * plugin, const QString& fileName) |
| 35 | : m_Plugin(plugin), m_Filename(fileName), m_Type(ScriptUnknown), m_Enabled(true), m_FileSize(0) |
| 36 | { |
| 37 | m_Codec = QTextCodec::codecForName("UTF-8"); |
| 38 | if (!m_Codec) |
| 39 | m_Codec = QTextCodec::codecForLocale(); |
| 40 | } |
| 41 | |
| 42 | bool Script::run(Tw::Scripting::ScriptAPIInterface & api) |
| 43 | { |
nothing calls this directly
no outgoing calls
no test coverage detected