summaryrefslogtreecommitdiff
path: root/modules/input_handlers/input_handler.py
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-11-24 23:53:13 +0100
committerBotond Hende <nettingman@gmail.com>2024-11-24 23:53:13 +0100
commit965c0e3401a4743c4f5e91e2368fd04b0b24aa02 (patch)
treed9428a6f15a6b480d079f53bbc802efca13eafca /modules/input_handlers/input_handler.py
parenta54f9cbed78ce3df4252c209553f4f318bc2b81e (diff)
input_handler can be specified from config
Diffstat (limited to 'modules/input_handlers/input_handler.py')
-rw-r--r--modules/input_handlers/input_handler.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/input_handlers/input_handler.py b/modules/input_handlers/input_handler.py
new file mode 100644
index 0000000..82a2830
--- /dev/null
+++ b/modules/input_handlers/input_handler.py
@@ -0,0 +1,11 @@
+from abc import ABC, abstractmethod
+
+class InputHandler(ABC):
+
+ @abstractmethod
+ def get_input(self):
+ pass
+
+ @abstractmethod
+ def cleanup(self):
+ pass \ No newline at end of file