core: fix compile without pch

fixes #5445
This commit is contained in:
Vaxry 2024-04-05 21:23:28 +01:00
parent b5b1c0137d
commit dab149e4a6
3 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -5,6 +5,7 @@
#include <hyprlang.hpp>
#include "../debug/Log.hpp"
#include "../macros.hpp"
#include "ConfigManager.hpp"
template <typename T>
class CConfigValue {

View File

@ -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;