mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
66530086a4
Continuing the boilerplate for these interfaces.
34 lines
1.2 KiB
C++
34 lines
1.2 KiB
C++
/*
|
|
* Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/FlyString.h>
|
|
|
|
namespace Web::MediaSourceExtensions::EventNames {
|
|
|
|
#define ENUMERATE_MEDIA_SOURCE_EXTENSIONS_ATTRIBUTES(E) \
|
|
E(abort) \
|
|
E(addsourcebuffer) \
|
|
E(bufferedchange) \
|
|
E(endstreaming) \
|
|
E(error) \
|
|
E(removesourcebuffer) \
|
|
E(sourceclose) \
|
|
E(sourceended) \
|
|
E(sourceopen) \
|
|
E(startstreaming) \
|
|
E(update) \
|
|
E(updateend) \
|
|
E(updatestart)
|
|
|
|
#define __ENUMERATE_MEDIA_SOURCE_EXTENSIONS_ATTRIBUTE(name) extern FlyString name;
|
|
ENUMERATE_MEDIA_SOURCE_EXTENSIONS_ATTRIBUTES(__ENUMERATE_MEDIA_SOURCE_EXTENSIONS_ATTRIBUTE)
|
|
#undef __ENUMERATE_MEDIA_SOURCE_EXTENSIONS_ATTRIBUTE
|
|
|
|
void initialize_strings();
|
|
|
|
}
|