/* * Copyright (c) 2026, Jelle Raaijmakers * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include namespace Web::Speech { GC_DEFINE_ALLOCATOR(SpeechSynthesisVoice); GC::Ref SpeechSynthesisVoice::create(JS::Realm& realm) { return realm.create(realm); } SpeechSynthesisVoice::SpeechSynthesisVoice(JS::Realm& realm) : Bindings::PlatformObject(realm) { } SpeechSynthesisVoice::~SpeechSynthesisVoice() = default; void SpeechSynthesisVoice::initialize(JS::Realm& realm) { WEB_SET_PROTOTYPE_FOR_INTERFACE(SpeechSynthesisVoice); Base::initialize(realm); } }