diff -r e0424e96e3fd -r 25054c592dc4 c_ext/c_ext.py --- a/c_ext/c_ext.py Sat May 12 11:21:10 2012 +0200 +++ b/c_ext/c_ext.py Sat May 12 12:11:42 2012 +0200 @@ -1,13 +1,11 @@ -import wx import os from xml.dom import minidom import cPickle from xmlclass import * -from ConfigTreeNode import ConfigTreeNode, opjimg from CFileEditor import CFileEditor -from PLCControler import PLCControler, UndoBuffer, LOCATION_CONFNODE, LOCATION_MODULE, LOCATION_GROUP, LOCATION_VAR_INPUT, LOCATION_VAR_OUTPUT, LOCATION_VAR_MEMORY +from PLCControler import UndoBuffer, LOCATION_CONFNODE, LOCATION_VAR_INPUT, LOCATION_VAR_OUTPUT CFileClasses = GenerateClassesFromXSD(os.path.join(os.path.dirname(__file__), "cext_xsd.xsd")) @@ -15,7 +13,7 @@ "USINT" : "B", "UINT" : "W", "UDINT" : "D", "ULINT" : "L", "REAL" : "D", "LREAL" : "L", "STRING" : "B", "BYTE" : "B", "WORD" : "W", "DWORD" : "D", "LWORD" : "L", "WSTRING" : "W"} -class _Cfile: +class CFile: XSD = """ @@ -305,11 +303,3 @@ last = self.CFileBuffer.IsLast() return not first, not last -class RootClass: - - CTNChildrenTypes = [("C_File",_Cfile, "C file")] - - def CTNGenerate_C(self, buildpath, locations): - return [],"",False - -