--- /dev/null
+from Converter import Converter
+from Components.Element import cached
+
+class Combine(Converter, object):
+ SINGLE_SOURCE = False
+
+ def __init__(self, arg = None, func = None):
+ Converter.__init__(self, arg)
+ assert func is not None
+ self.func = func
+
+ @cached
+ def getValue(self):
+ return self.func(self.sources)
+
+ value = property(getValue)
Poll.py RemainingToText.py StringList.py ServiceName.py FrontendInfo.py ServiceInfo.py \
ConditionalShowHide.py ServicePosition.py ValueRange.py RdsInfo.py Streaming.py \
StaticMultiList.py ServiceTime.py MovieInfo.py MenuEntryCompare.py StringListSelection.py \
- ValueBitTest.py TunerInfo.py ConfigEntryTest.py TemplatedMultiContent.py ProgressToText.py
\ No newline at end of file
+ ValueBitTest.py TunerInfo.py ConfigEntryTest.py TemplatedMultiContent.py ProgressToText.py \
+ Combine.py