E-Paper-Calendar/Calendar/PanelDesign.py

17 lines
599 B
Python
Raw Normal View History

2019-02-27 17:20:15 +01:00
class PanelDesign(object):
"""Defined general interface for panel designs."""
def set_size(self, width, height):
self.width = width
self.height = height
def get_image (self):
raise NotImplementedError("Functions needs to be implemented")
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")