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

LibCore: Add a forward declaration header

This patch adds <LibCore/Forward.h> and uses it in various places to
shrink the header dependency graph.
This commit is contained in:
Andreas Kling 2020-02-14 22:29:06 +01:00
parent 3bbf4610d2
commit 8f7333f080
35 changed files with 143 additions and 38 deletions

View file

@ -70,6 +70,9 @@ class NonnullRefPtr;
template<typename T>
class NonnullOwnPtr;
template<typename T>
class Optional;
template<typename T>
class RefPtr;
@ -98,6 +101,7 @@ using AK::JsonObject;
using AK::JsonValue;
using AK::NonnullOwnPtr;
using AK::NonnullRefPtr;
using AK::Optional;
using AK::OwnPtr;
using AK::RefPtr;
using AK::SinglyLinkedList;