diff options
Diffstat (limited to 'src/interfaces/command.hpp')
-rw-r--r-- | src/interfaces/command.hpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/interfaces/command.hpp b/src/interfaces/command.hpp deleted file mode 100644 index f433eab..0000000 --- a/src/interfaces/command.hpp +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include "interfaces/subscriber.hpp" - -#include <cstddef> - -// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) -class ICommand : public ISubscriber<std::nullptr_t> -{ -public: - ~ICommand() override = default; - - virtual void execute() noexcept = 0; - - void update(const std::nullptr_t & /*context*/) noexcept override - { - execute(); - }; -}; |