plugins/svgui/svgui.py
changeset 49 45dc6a944ab6
parent 47 fd45c291fed0
child 55 9c26e67c041a
equal deleted inserted replaced
48:6b30cfee163e 49:45dc6a944ab6
   756         return fct
   756         return fct
   757     
   757     
   758     def PlugGenerate_C(self, buildpath, locations, logger):
   758     def PlugGenerate_C(self, buildpath, locations, logger):
   759         current_location = self.GetCurrentLocation()
   759         current_location = self.GetCurrentLocation()
   760         self.BusNumber = "_".join(map(lambda x:str(x), current_location))
   760         self.BusNumber = "_".join(map(lambda x:str(x), current_location))
   761         progname = self.BusNumber + "_SVGUI"
   761         progname = "SVGUI_" + self.BusNumber
   762         self.GenerateProgram(buildpath, progname)
   762         self.GenerateProgram(buildpath, progname)
   763         Gen_C_file = os.path.join(buildpath, progname+".cpp" )
   763         Gen_C_file = os.path.join(buildpath, progname+".cpp" )
   764         return [(Gen_C_file,"")],""
   764         return [(Gen_C_file,"")],""
   765     
   765     
   766     def BlockTypesFactory(self):
   766     def BlockTypesFactory(self):