fill configlist with correct entries
[enigma2.git] / lib / python / Components / config.py
index c7421842bd7d9d70607ab9508bb8556c2e6bb348..f8e8fd13a390dec039555628cc10890be1a83812 100644 (file)
@@ -30,9 +30,17 @@ def configEntry(obj):
 class Config:
        def __init__(self):
                pass
-       def Slider(self):                # ok???
+       def Slider(self,reg):            # ok???
                pass    
+       def getControlType(self, reg):
+               print "getControlType " + reg
 
+               #find the correct type in class-members
+               if reg == "blasel":
+                       return configBoolean(reg)
+
+               return configBoolean(reg)
+               
 config = Config();
 
 class ConfigSubsection: