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

@ -11,8 +11,19 @@
#include "../protocols/LayerShell.hpp"
#include "../xwayland/XWayland.hpp"
#include "../protocols/OutputManagement.hpp"
#include "managers/AnimationManager.hpp"
#include "../managers/AnimationManager.hpp"
#include "../desktop/LayerSurface.hpp"
#include "defaultConfig.hpp"
#include "../render/Renderer.hpp"
#include "../hyprerror/HyprError.hpp"
#include "../managers/input/InputManager.hpp"
#include "../managers/LayoutManager.hpp"
#include "../managers/EventManager.hpp"
#include "../debug/HyprNotificationOverlay.hpp"
#include "../plugins/PluginSystem.hpp"
#include "managers/HookSystemManager.hpp"
#include <cstddef>
#include <cstdint>
#include <hyprutils/path/Path.hpp>

View file

@ -4,23 +4,24 @@
#define CONFIG_MANAGER_H
#include <map>
#include "../debug/Log.hpp"
#include <unordered_map>
#include "../defines.hpp"
#include <variant>
#include <vector>
#include <algorithm>
#include <optional>
#include <functional>
#include <xf86drmMode.h>
#include "../helpers/WLClasses.hpp"
#include "../helpers/Monitor.hpp"
#include "../helpers/varlist/VarList.hpp"
#include "../desktop/Window.hpp"
#include "../desktop/LayerSurface.hpp"
#include "../desktop/LayerRule.hpp"
#include "defaultConfig.hpp"
#include "ConfigDataValues.hpp"
#include "SharedDefs.hpp"
#include "helpers/Color.hpp"
#include "desktop/DesktopTypes.hpp"
#include "helpers/memory/Memory.hpp"
#include "desktop/WindowRule.hpp"
#include "managers/XWaylandManager.hpp"
#include <hyprlang.hpp>

View file

@ -3,7 +3,6 @@
#include <string>
#include <typeindex>
#include <hyprlang.hpp>
#include "../debug/Log.hpp"
#include "../macros.hpp"
#include "ConfigManager.hpp"
@ -71,4 +70,4 @@ template <>
inline Hyprlang::CUSTOMTYPE CConfigValue<Hyprlang::CUSTOMTYPE>::operator*() const {
RASSERT(false, "Impossible to implement operator* of CConfigValue<Hyprlang::CUSTOMTYPE>, use ptr()");
return *ptr();
}
}