mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
25 lines
565 B
C++
25 lines
565 B
C++
/*
|
|
* Copyright (c) 2023, Kenneth Myhra <kennethmyhra@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Error.h>
|
|
#include <AK/FlyString.h>
|
|
|
|
namespace Web::WebGL::EventNames {
|
|
|
|
#define ENUMERATE_GL_EVENTS \
|
|
__ENUMERATE_GL_EVENT(webglcontextcreationerror) \
|
|
__ENUMERATE_GL_EVENT(webglcontextlost) \
|
|
__ENUMERATE_GL_EVENT(webglcontextrestored)
|
|
|
|
#define __ENUMERATE_GL_EVENT(name) extern FlyString name;
|
|
ENUMERATE_GL_EVENTS
|
|
#undef __ENUMERATE_GL_EVENT
|
|
|
|
void initialize_strings();
|
|
|
|
}
|