mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
added scriptEnding callback
This commit is contained in:
parent
c404a36439
commit
18ded1d7db
2 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,7 @@ void ScriptEngine::run() {
|
||||||
qDebug() << "Uncaught exception at line" << line << ":" << _engine.uncaughtException().toString();
|
qDebug() << "Uncaught exception at line" << line << ":" << _engine.uncaughtException().toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
emit scriptEnding();
|
||||||
cleanMenuItems();
|
cleanMenuItems();
|
||||||
|
|
||||||
// If we were on a thread, then wait till it's done
|
// If we were on a thread, then wait till it's done
|
||||||
|
|
|
@ -57,7 +57,9 @@ public slots:
|
||||||
signals:
|
signals:
|
||||||
void willSendAudioDataCallback();
|
void willSendAudioDataCallback();
|
||||||
void willSendVisualDataCallback();
|
void willSendVisualDataCallback();
|
||||||
|
void scriptEnding();
|
||||||
void finished();
|
void finished();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
QString _scriptContents;
|
QString _scriptContents;
|
||||||
bool _isFinished;
|
bool _isFinished;
|
||||||
|
|
Loading…
Reference in a new issue