Merge branch 'bug_387_small_spinner_fix' into experimental
[vuplus_dvbapp] / lib / python / Components / Sources / Source.py
index 77fcb55..ecd7013 100644 (file)
@@ -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
+