aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/command.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/command.hpp')
-rw-r--r--src/interfaces/command.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/interfaces/command.hpp b/src/interfaces/command.hpp
new file mode 100644
index 0000000..245bdd6
--- /dev/null
+++ b/src/interfaces/command.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+class ICommand
+{
+public:
+ virtual ~ICommand() = default;
+
+ virtual void execute() noexcept = 0;
+};