1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:47:35 +00:00

LibWeb: Add PlatformObject class

This represents the "platform object" concept from the IDL spec, which
refers to an object that implements an IDL interface.
This commit is contained in:
Andreas Kling 2022-08-27 13:53:31 +02:00
parent 71c7ac3510
commit f6c61940f6
6 changed files with 70 additions and 10 deletions

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2020-2022, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/Wrapper.h>
namespace Web::Bindings {
Wrapper::Wrapper(Object& prototype)
: PlatformObject(prototype)
{
}
Wrapper::~Wrapper() = default;
}