Add a little stub of the project class (TODO: the project class need to be completely...
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 18 Dec 2008 11:43:57 +0000 (11:43 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 18 Dec 2008 11:43:57 +0000 (11:43 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2070 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BProject.py

index 19d61a1ccbe6167e93d04a33823a6b4cc4526e06..f2c1e9a1f376f3ed9d618cf08d3ebd39d4be0827 100644 (file)
 class BProject(object):
     
     def __init__(self):
-        pass
+        self.infos = {}
     
-    def setProjectPath(self, path):
-        self.projectPath = path
+    def setInfo(self, key, value):
+        self.infos[key] = value
     
-    def setSourcePath(self, path):
-        self.sourcePath = path
-    
-    
\ No newline at end of file
+    def info(self, key):
+        return self.infos[key]
\ No newline at end of file