E-Paper-Calendar/Calendar/DisplayAdapter.py

11 lines
382 B
Python
Raw Permalink Normal View History

2019-02-19 20:51:10 +01:00
class DisplayAdapter (object):
"""Interface for CalendarDesign output channels."""
def __init__(self, width, height):
self.width = width
self.height = height
2019-02-19 20:51:10 +01:00
def render (self, design):
raise NotImplementedError("Functions needs to be implemented")
def calibrate (self):
raise NotImplementedError("Functions needs to be implemented")