aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/EventHandler.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-15 12:43:38 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-15 12:43:38 +0100
commitcab672ce6258aec563e7f0e0549281156c0c8d21 (patch)
treee4b825c5fed4282672aeb18d4bd405710f20349d /src/crepe/api/EventHandler.h
parent22a3ba4d0773d6010704ec494a08f5d95f564a94 (diff)
feedback
Diffstat (limited to 'src/crepe/api/EventHandler.h')
-rw-r--r--src/crepe/api/EventHandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crepe/api/EventHandler.h b/src/crepe/api/EventHandler.h
index 46c6c7b..0ab90de 100644
--- a/src/crepe/api/EventHandler.h
+++ b/src/crepe/api/EventHandler.h
@@ -12,6 +12,7 @@
*
* \tparam EventType The type of event this handler will handle.
*/
+// TODO: typedef
template <typename EventType>
using EventHandler = std::function<bool(const EventType & e)>;