Defined DisplayAdapter interface

This commit is contained in:
Maximilian Giller 2019-02-19 20:51:10 +01:00
parent 17dd30b56b
commit 9e7fb46859

View file

@ -0,0 +1,12 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
class DisplayAdapter (object):
"""Interface for CalendarDesign output channels"""
def render ():
raise NotImplementedError("Functions needs to be implemented")
def calibrate ():
raise NotImplementedError("Functions needs to be implemented")
def sleep ():
raise NotImplementedError("Functions needs to be implemented")