From c97fa9a3c18281e501fe37eb169df8b3d476cad2 Mon Sep 17 00:00:00 2001 From: duplo Date: Thu, 18 Dec 2008 11:43:57 +0000 Subject: [PATCH] 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 --- wizard/BProject.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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 -- 2.25.1