X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/2e874fa14264bf37f17ae9b9375e26059e7f35ec..533dd652737ca702c0e9528ed06e8a17b9ec72c5:/lib/python/Components/Sources/Source.py diff --git a/lib/python/Components/Sources/Source.py b/lib/python/Components/Sources/Source.py index 77fcb55f..ecd70139 100644 --- a/lib/python/Components/Sources/Source.py +++ b/lib/python/Components/Sources/Source.py @@ -1,5 +1,6 @@ -class Source(object): +from Components.Element import Element +class Source(Element): def execBegin(self): pass @@ -14,3 +15,10 @@ class Source(object): def destroy(self): self.__dict__.clear() + +class ObsoleteSource(Source): + def __init__(self, new_source, description = None, removal_date = "as soon as possible"): + self.new_source = new_source + self.description = description + self.removal_date = removal_date +