summaryrefslogtreecommitdiff
path: root/src/SharedDefs.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-04-05 21:23:28 +0100
committerVaxry <vaxry@vaxry.net>2024-04-05 21:23:28 +0100
commitdab149e4a6291dd412b594c0faba2c44f9a74263 (patch)
tree8576893d82ea2cc00ff43821900c1c7f5fc5f12c /src/SharedDefs.hpp
parentb5b1c0137de5404dc771c48e83b0d5b00e4b052d (diff)
core: fix compile without pch
fixes #5445
Diffstat (limited to 'src/SharedDefs.hpp')
-rw-r--r--src/SharedDefs.hpp2
1 files changed, 2 insertions, 0 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;