Created CalendarInterface
This commit is contained in:
parent
d102c7c639
commit
b57800b0d8
1 changed files with 18 additions and 0 deletions
18
Calendar/CalendarInterface.py
Normal file
18
Calendar/CalendarInterface.py
Normal 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")
|
Loading…
Reference in a new issue