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

Libraries: Add missing headers

A C++ source file containing just
    #include <LibFoo/Bar.h>
should always compile cleanly.

This patch adds missing header inclusions that could have caused weird error
messages if they were used in a different context. Also, this confused QtCreator.
This commit is contained in:
Ben Wiederhake 2021-01-21 20:55:37 +01:00 committed by Andreas Kling
parent 1e7adf5cb6
commit 67cda61b7f
19 changed files with 22 additions and 0 deletions

View file

@ -27,6 +27,7 @@
#pragma once
#include <AK/Forward.h>
#include <LibWeb/DOM/Event.h>
#include <LibWeb/Forward.h>
namespace Web::DOM {

View file

@ -29,6 +29,7 @@
#include <AK/Forward.h>
#include <LibCore/Forward.h>
#include <LibJS/Heap/Handle.h>
#include <LibJS/Runtime/Function.h>
#include <LibWeb/Forward.h>
namespace Web::DOM {

View file

@ -29,6 +29,7 @@
#include <AK/FlyString.h>
#include <AK/HashMap.h>
#include <AK/String.h>
#include <LibGfx/Font.h>
#include <LibGfx/Forward.h>
struct FontSelector {

View file

@ -27,6 +27,7 @@
#pragma once
#include <LibWeb/Layout/SVGGraphicsBox.h>
#include <LibWeb/SVG/SVGPathElement.h>
namespace Web::Layout {

View file

@ -26,6 +26,7 @@
#pragma once
#include <AK/Types.h>
#include <LibWeb/Forward.h>
namespace Web {

View file

@ -27,6 +27,7 @@
#pragma once
#include <AK/Forward.h>
#include <AK/NonnullOwnPtr.h>
#include <AK/WeakPtr.h>
#include <Kernel/API/KeyCode.h>
#include <LibGUI/Forward.h>

View file

@ -26,6 +26,7 @@
#pragma once
#include <AK/Vector.h>
#include <LibGfx/Forward.h>
#include <LibGfx/Palette.h>
#include <LibGfx/Rect.h>

View file

@ -26,6 +26,9 @@
#pragma once
#include <AK/Vector.h>
#include <LibGfx/Color.h>
namespace Web {
class SVGContext {

View file

@ -28,6 +28,7 @@
#include <AK/NonnullRefPtrVector.h>
#include <LibGUI/Model.h>
#include <LibWeb/CSS/StyleProperties.h>
namespace Web {