diff options
| author | user111111111111111111111111111111111 <192911676+user111111111111111111111111111111111@users.noreply.github.com> | 2025-01-17 15:21:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-17 15:21:35 +0000 |
| commit | 2bad73354a5dbb9be8ba9a39b6238017a216a25b (patch) | |
| tree | 47314035a3cc3ffc90a04730d2fea9453328c4c8 /src/plugins | |
| parent | 0dc7367a7006cc3cc877d52bf34c4998144bff84 (diff) | |
core: cleanup header includes (#9088)
Cleanup some unneeded includes to speed up compilation
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/HookSystem.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/PluginAPI.cpp | 5 | ||||
| -rw-r--r-- | src/plugins/PluginSystem.cpp | 4 |
3 files changed, 10 insertions, 3 deletions
diff --git a/src/plugins/HookSystem.cpp b/src/plugins/HookSystem.cpp index 3baca5b1..c19f6f46 100644 --- a/src/plugins/HookSystem.cpp +++ b/src/plugins/HookSystem.cpp @@ -2,7 +2,7 @@ #include "../debug/Log.hpp" #include "../helpers/varlist/VarList.hpp" #include "../managers/TokenManager.hpp" -#include "../Compositor.hpp" +#include "../helpers/MiscFunctions.hpp" #define register #include <udis86.h> @@ -383,4 +383,4 @@ uint64_t CHookSystem::getAddressForTrampo() { Debug::log(LOG, "getAddressForTrampo: Returning addr 0x{:x} for page at 0x{:x}", ADDRFORCONSUMER, page->addr); return ADDRFORCONSUMER; -}
\ No newline at end of file +} diff --git a/src/plugins/PluginAPI.cpp b/src/plugins/PluginAPI.cpp index 5e1d9e58..b6bbc460 100644 --- a/src/plugins/PluginAPI.cpp +++ b/src/plugins/PluginAPI.cpp @@ -1,6 +1,11 @@ #include "PluginAPI.hpp" #include "../Compositor.hpp" #include "../debug/HyprCtl.hpp" +#include "../plugins/PluginSystem.hpp" +#include "../managers/HookSystemManager.hpp" +#include "../managers/LayoutManager.hpp" +#include "../config/ConfigManager.hpp" +#include "../debug/HyprNotificationOverlay.hpp" #include <dlfcn.h> #include <filesystem> diff --git a/src/plugins/PluginSystem.cpp b/src/plugins/PluginSystem.cpp index 52a3bace..ce7dd7c7 100644 --- a/src/plugins/PluginSystem.cpp +++ b/src/plugins/PluginSystem.cpp @@ -2,7 +2,9 @@ #include <dlfcn.h> #include <ranges> -#include "../Compositor.hpp" +#include "../config/ConfigManager.hpp" +#include "../managers/LayoutManager.hpp" +#include "../managers/HookSystemManager.hpp" CPluginSystem::CPluginSystem() { g_pFunctionHookSystem = std::make_unique<CHookSystem>(); |
