From: duplo Date: Thu, 18 Dec 2008 11:43:57 +0000 (+0000) Subject: Add a little stub of the project class (TODO: the project class need to be completely... X-Git-Tag: 2.1.0~612 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c97fa9a3c18281e501fe37eb169df8b3d476cad2;p=bertos.git Add a little stub of the project class (TODO: the project class need to be completely redesigned) git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2070 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BProject.py b/wizard/BProject.py index 19d61a1c..f2c1e9a1 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -12,12 +12,10 @@ 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