aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/command.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-20 13:17:16 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:56 +0200
commit78f5d8cf644383adf20933ad64c160c07c2c54fb (patch)
tree2a348d90f8f150665c379bf2f3741731999dd679 /src/interfaces/command.hpp
parentb6061eff99907495de282f611e8389e6468a1fb0 (diff)
refactor: improve input configuring structure
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;
+};