Defined DisplayAdapter interface
This commit is contained in:
parent
17dd30b56b
commit
9e7fb46859
1 changed files with 12 additions and 0 deletions
12
Calendar/DisplayAdapter.py
Normal file
12
Calendar/DisplayAdapter.py
Normal 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")
|
Loading…
Reference in a new issue