core: cleanup header includes (#9088)

Cleanup some unneeded includes to speed up compilation
This commit is contained in:
user111111111111111111111111111111111 2025-01-17 15:21:35 +00:00 committed by GitHub
parent 0dc7367a70
commit 2bad73354a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
97 changed files with 224 additions and 72 deletions

View file

@ -2,7 +2,6 @@
#include <cstdint>
#include <hyprgraphics/color/Color.hpp>
#include "../debug/Log.hpp"
#include "../macros.hpp"
class CHyprColor {

View file

@ -3,6 +3,8 @@
#include <algorithm>
#include "../Compositor.hpp"
#include "../managers/TokenManager.hpp"
#include "Monitor.hpp"
#include "../config/ConfigManager.hpp"
#include <optional>
#include <cstring>
#include <cmath>

View file

@ -1,9 +1,7 @@
#pragma once
#include <optional>
#include <string>
#include <wayland-server.h>
#include "math/Math.hpp"
#include <vector>
#include <format>
#include <expected>

View file

@ -17,9 +17,15 @@
#include "../managers/PointerManager.hpp"
#include "../managers/eventLoop/EventLoopManager.hpp"
#include "../protocols/core/Compositor.hpp"
#include "../render/Renderer.hpp"
#include "../managers/EventManager.hpp"
#include "../managers/LayoutManager.hpp"
#include "../managers/input/InputManager.hpp"
#include "sync/SyncTimeline.hpp"
#include "../desktop/LayerSurface.hpp"
#include <aquamarine/output/Output.hpp>
#include "debug/Log.hpp"
#include "debug/HyprNotificationOverlay.hpp"
#include <hyprutils/string/String.hpp>
#include <hyprutils/utils/ScopeGuard.hpp>
#include <cstring>

View file

@ -4,6 +4,7 @@
#include <stack>
#include <vector>
#include "../SharedDefs.hpp"
#include "MiscFunctions.hpp"
#include "WLClasses.hpp"
#include <vector>
#include <array>

View file

@ -1,13 +1,13 @@
#pragma once
#include "../events/Events.hpp"
#include "../defines.hpp"
#include "../desktop/Window.hpp"
#include "../desktop/Subsurface.hpp"
#include "../desktop/Popup.hpp"
#include "../desktop/WLSurface.hpp"
#include "macros.hpp"
#include "desktop/DesktopTypes.hpp"
#include "helpers/memory/Memory.hpp"
#include "signal/Signal.hpp"
#include "math/Math.hpp"
class CMonitor;
class IPointer;