summaryrefslogtreecommitdiff
path: root/cameltris/screens/Screen.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-11-12 13:32:37 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-11-12 13:32:37 +0100
commitadf005bd29a395b653df1d990aa72694360a11dc (patch)
treed3cf034b95fc38c0e2d0217581d5e5f7f3689b43 /cameltris/screens/Screen.py
parent5bbc2d3008910bb9c1f9eb07d7dde5bda8aa52f4 (diff)
Rename the package cameltris and provide __main__.py
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'cameltris/screens/Screen.py')
-rw-r--r--cameltris/screens/Screen.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/cameltris/screens/Screen.py b/cameltris/screens/Screen.py
new file mode 100644
index 0000000..419c1d2
--- /dev/null
+++ b/cameltris/screens/Screen.py
@@ -0,0 +1,12 @@
+import abc
+
+
+class Screen(abc.ABC):
+ @abc.abstractmethod
+ def refresh(self) -> None:
+ pass
+
+ @abc.abstractmethod
+ def oneframe(self) -> None:
+ pass
+