1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14: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

@ -30,6 +30,7 @@
#include <AK/RefCounted.h>
#include <AK/RefPtr.h>
#include <AK/StringView.h>
#include <LibAudio/Buffer.h>
#include <LibCore/File.h>
namespace Audio {

View file

@ -26,6 +26,7 @@
#pragma once
#include <bits/stdint.h>
#include <sys/cdefs.h>
__BEGIN_DECLS

View file

@ -26,6 +26,7 @@
#pragma once
#include <AK/String.h>
#include <LibELF/exec_elf.h>
namespace ELF {

View file

@ -27,6 +27,7 @@
#pragma once
#include <AK/OwnPtr.h>
#include <LibCore/MimeData.h>
#include <LibCore/Object.h>
#include <LibGUI/Forward.h>
#include <LibGfx/Forward.h>

View file

@ -27,6 +27,7 @@
#pragma once
#include <LibGUI/Dialog.h>
#include <LibGfx/Font.h>
#include <LibGfx/Forward.h>
namespace GUI {

View file

@ -26,6 +26,7 @@
#pragma once
#include <AK/Format.h>
#include <AK/Traits.h>
#include <LibGUI/Forward.h>
#include <LibGUI/ModelRole.h>

View file

@ -30,6 +30,7 @@
#include <AK/OwnPtr.h>
#include <AK/RefCounted.h>
#include <AK/RefPtr.h>
#include <LibGfx/Bitmap.h>
#include <LibGfx/Size.h>
namespace Gfx {

View file

@ -26,6 +26,8 @@
#pragma once
#include <stddef.h>
namespace Line {
class Span {

View file

@ -27,6 +27,7 @@
#pragma once
#include <AK/Span.h>
#include <stdint.h>
namespace TTF {

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 {

View file

@ -27,6 +27,7 @@
#pragma once
#include <LibELF/Image.h>
#include <LibX86/Instruction.h>
namespace X86 {