summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/HookSystem.cpp4
-rw-r--r--src/plugins/PluginAPI.cpp5
-rw-r--r--src/plugins/PluginSystem.cpp4
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>();