summaryrefslogtreecommitdiff
path: root/src/plugins/PluginAPI.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-10-21 14:52:43 +0100
committerVaxry <vaxry@vaxry.net>2023-10-21 14:52:43 +0100
commita61eb7694df25a75f45502ed64b1536fda370c1d (patch)
tree30c48c414cec95598c50bed092ee35c19f3e28a2 /src/plugins/PluginAPI.hpp
parentc6233a790fed3d9a3100e16a73143700846928a2 (diff)
hooksystem: add callbackinfo struct and cancellable events
Diffstat (limited to 'src/plugins/PluginAPI.hpp')
-rw-r--r--src/plugins/PluginAPI.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/PluginAPI.hpp b/src/plugins/PluginAPI.hpp
index a406f2e6..36cdbe63 100644
--- a/src/plugins/PluginAPI.hpp
+++ b/src/plugins/PluginAPI.hpp
@@ -29,7 +29,7 @@ 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*, std::any)> HOOK_CALLBACK_FN;
+typedef std::function<void(void*, SCallbackInfo&, std::any)> HOOK_CALLBACK_FN;
typedef struct {
std::string name;
std::string description;