Created CalendarInterface

This commit is contained in:
Maximilian Giller 2019-02-23 22:11:49 +01:00
parent d102c7c639
commit b57800b0d8

View file

@ -0,0 +1,18 @@
from DataSourceInterface import DataSourceInterface
class CalendarInterface (DataSourceInterface):
"""Interface for fetching and processing calendar event information."""
def get_upcoming_events(self, count):
raise NotImplementedError("Functions needs to be implemented")
def get_today_events(self):
raise NotImplementedError("Functions needs to be implemented")
def get_day_events(self):
raise NotImplementedError("Functions needs to be implemented")
def get_month_events(self, count):
raise NotImplementedError("Functions needs to be implemented")
def get_week_events(self, count):
raise NotImplementedError("Functions needs to be implemented")