E-Paper-Calendar/Calendar/CalendarInterface.py

18 lines
No EOL
715 B
Python

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")