E-Paper-Calendar/Calendar/DisplayAdapter.py

8 lines
322 B
Python
Raw Normal View History

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