Merge branch 'bug_271_ac3pcm_delay_servicemp3' into experimental
[enigma2.git] / lib / python / Components / Sources / Source.py
1 from Components.Element import Element
2
3 class Source(Element):
4         def execBegin(self):
5                 pass
6         
7         def execEnd(self):
8                 pass
9         
10         def onShow(self):
11                 pass
12
13         def onHide(self):
14                 pass
15         
16         def destroy(self):
17                 self.__dict__.clear()
18
19 class ObsoleteSource(Source):
20         def __init__(self, new_source, description = None, removal_date = "as soon as possible"):
21                 self.new_source = new_source
22                 self.description = description
23                 self.removal_date = removal_date
24