diff options
Diffstat (limited to 'src/interfaces/subscriber.hpp')
-rw-r--r-- | src/interfaces/subscriber.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
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 <typename Context> +class ISubscriber +{ +public: + virtual void update(const Context &context) noexcept = 0; +}; |