From e6644d6b235005de9ba1b9884472fa5f5d8d6074 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 20 Mar 2022 18:49:49 +0100 Subject: refactor: update event system terminology & structure --- src/interfaces/subscriber.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/interfaces/subscriber.hpp (limited to 'src/interfaces/subscriber.hpp') diff --git a/src/interfaces/subscriber.hpp b/src/interfaces/subscriber.hpp new file mode 100644 index 0000000..17d87ef --- /dev/null +++ b/src/interfaces/subscriber.hpp @@ -0,0 +1,8 @@ +#pragma once + +template +class ISubscriber +{ +public: + virtual void update(const Context &context) noexcept = 0; +}; -- cgit v1.2.3-18-g5258