E-Paper-Calendar/Calendar/DisplayAdapter.py
2019-07-13 08:05:35 +02:00

12 lines
382 B
Python

class DisplayAdapter (object):
"""Interface for CalendarDesign output channels."""
def __init__(self, width, height):
self.width = width
self.height = height
def render(self, design):
raise NotImplementedError("Functions needs to be implemented")
def calibrate(self):
raise NotImplementedError("Functions needs to be implemented")