aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/observable.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/observable.hpp')
-rw-r--r--src/interfaces/observable.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/interfaces/observable.hpp b/src/interfaces/observable.hpp
deleted file mode 100644
index 21fed76..0000000
--- a/src/interfaces/observable.hpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-#include "interfaces/command.hpp"
-
-#include <functional>
-#include <memory>
-
-template <typename Event>
-class IObservable
-{
-public:
- virtual ~IObservable() noexcept = default;
-
- virtual void listen() const noexcept = 0;
-
- virtual void attach(const char &event,
- const std::shared_ptr<ICommand> &command) noexcept = 0;
-
- virtual void notify(const Event &event) const noexcept = 0;
-};