E-Paper-Calendar/Calendar/PanelDesign.py

15 lines
531 B
Python
Raw Normal View History

from DesignEntity import DesignEntity
2019-02-27 17:20:15 +01:00
class PanelDesign (DesignEntity):
"""Defined general interface for panel designs."""
def __init__ (self, size):
super(PanelDesign, self).__init__(size)
2019-02-27 17:20:15 +01:00
def add_weather (self, weather):
raise NotImplementedError("Functions needs to be implemented")
def add_calendar (self, calendar):
raise NotImplementedError("Functions needs to be implemented")
def add_rssfeed (self, rss):
raise NotImplementedError("Functions needs to be implemented")