Showing the changes to libraries/script-engine/src/ScriptEngine.h (1 of 30 files). Show all
Unified · Split
| @@ -34,7 +34,7 @@ class ScriptEngine : public QObject { · 33 unmodified lines | ||
| 34 | 34 | Q_PROPERTY(bool isAvatar READ isAvatar WRITE setIsAvatar) |
| 35 | 35 | public: |
| 36 | 36 | ScriptEngine(const QString& scriptContents = NO_SCRIPT, bool wantMenuItems = false, |
| 37 | − const char* scriptMenuName = NULL, AbstractMenuInterface* menu = NULL, | |
| 37 | + const QString& scriptMenuName = QString(""), AbstractMenuInterface* menu = NULL, | |
| 38 | 38 | AbstractControllerScriptingInterface* controllerScriptingInterface = NULL); |
| 39 | 39 | |
| 40 | 40 | ~ScriptEngine(); |
| @@ -71,7 +71,7 @@ signals: · 30 unmodified lines | ||
| 71 | 71 | void willSendAudioDataCallback(); |
| 72 | 72 | void willSendVisualDataCallback(); |
| 73 | 73 | void scriptEnding(); |
| 74 | − void finished(); | |
| 74 | + void finished(const QString& fileNameString); | |
| 75 | 75 | |
| 76 | 76 | protected: |
| 77 | 77 | void preEvaluateReset(); |
| @@ -92,6 +92,7 @@ private: · 14 unmodified lines | ||
| 92 | 92 | AvatarData* _avatarData; |
| 93 | 93 | bool _wantMenuItems; |
| 94 | 94 | QString _scriptMenuName; |
| 95 | + QString _fileNameString; | |
| 95 | 96 | AbstractMenuInterface* _menu; |
| 96 | 97 | static int _scriptNumber; |
| 97 | 98 | }; |