projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the visualization of the valid gcc
[bertos.git]
/
wizard
/
BProject.py
diff --git
a/wizard/BProject.py
b/wizard/BProject.py
index 907599c7ff9986bb99488c57793200d778fbfe5f..e58f5818481bbbd6d91a2fb8d99bd613ce36db6a 100644
(file)
--- a/
wizard/BProject.py
+++ b/
wizard/BProject.py
@@
-12,16
+12,12
@@
class BProject(object):
def __init__(self):
class BProject(object):
def __init__(self):
- pass
+ self.infos = {}
- def openProject(self, path):
- # Fill the BProject fields, opening an existing project
- pass
+ def setInfo(self, key, value):
+ self.infos[key] = value
- def setProjectPath(self, path):
- self.projectPath = path
-
- def setSourcePath(self, path):
- self.sourcePath = path
-
-
\ No newline at end of file
+ def info(self, key):
+ if key in self.infos.keys():
+ return self.infos[key]
+ return None
\ No newline at end of file