summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SharedDefs.hpp2
-rw-r--r--src/config/ConfigValue.hpp1
-rw-r--r--src/plugins/PluginAPI.hpp1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/SharedDefs.hpp b/src/SharedDefs.hpp
index 55ce1f81..1b4876bb 100644
--- a/src/SharedDefs.hpp
+++ b/src/SharedDefs.hpp
@@ -70,3 +70,5 @@ struct SHyprCtlCommand {
bool exact = true;
std::function<std::string(eHyprCtlOutputFormat, std::string)> fn;
};
+
+typedef std::function<void(void*, SCallbackInfo&, std::any)> HOOK_CALLBACK_FN;
diff --git a/src/config/ConfigValue.hpp b/src/config/ConfigValue.hpp
index 6017a7cd..72accd67 100644
--- a/src/config/ConfigValue.hpp
+++ b/src/config/ConfigValue.hpp
@@ -5,6 +5,7 @@
#include <hyprlang.hpp>
#include "../debug/Log.hpp"
#include "../macros.hpp"
+#include "ConfigManager.hpp"
template <typename T>
class CConfigValue {
diff --git a/src/plugins/PluginAPI.hpp b/src/plugins/PluginAPI.hpp
index 575fef40..75dca24e 100644
--- a/src/plugins/PluginAPI.hpp
+++ b/src/plugins/PluginAPI.hpp
@@ -29,7 +29,6 @@ Feel like the API is missing something you'd like to use in your plugin? Open an
#include <functional>
#include <string>
-typedef std::function<void(void*, SCallbackInfo&, std::any)> HOOK_CALLBACK_FN;
typedef struct {
std::string name;
std::string description;