aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/config.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index 5d582abb..eacb5fe1 100644
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -27,3 +27,18 @@ def configEntry(obj):
else:
return ("invalid", "")
+class config:
+ def __init__(self):
+ pass
+ def Slider(self): # ok???
+ pass
+
+class configElement:
+ def __init__(self, configPath, control, defaultValue):
+ self.configPath = configPath
+ self.value = 0 #read from registry else use default
+ self.controlType = control
+ self.notifierList = [ ]
+ def addNotifier(self, notifier):
+ self.notifierList.append(notifier);
+ notifier(self);