QScriptValue soundSharedPointerToScriptValue(QScriptEngine* engine, SharedSoundPointer const& in) { return engine->newQObject(in.data()); }
SoundScriptingInterface::SoundScriptingInterface(SharedSoundPointer sound) : _sound(sound) { QObject::connect(sound.data(), &Sound::ready, this, &SoundScriptingInterface::ready); }