LibWeb: Forward declare AudioDestinationNode to break header loop

(cherry picked from commit d7a3bad2b4c08b02c3df73e6c344c6bf7dadcbeb)
This commit is contained in:
Jelle Raaijmakers 2024-10-08 12:03:22 +02:00 committed by Nico Weber
parent 1600dcaf19
commit 7189d342f5

View file

@ -9,12 +9,13 @@
#include <LibWeb/Bindings/BaseAudioContextPrototype.h>
#include <LibWeb/DOM/EventTarget.h>
#include <LibWeb/WebAudio/AudioDestinationNode.h>
#include <LibWeb/WebAudio/BiquadFilterNode.h>
#include <LibWeb/WebIDL/Types.h>
namespace Web::WebAudio {
class AudioDestinationNode;
// https://webaudio.github.io/web-audio-api/#BaseAudioContext
class BaseAudioContext : public DOM::EventTarget {
WEB_PLATFORM_OBJECT(BaseAudioContext, DOM::EventTarget);