c_ext/c_ext.py
changeset 1124 b1705000eba1
parent 1119 34db4294c177
child 1315 ff14a66bbd12
equal deleted inserted replaced
1123:55ed55ef7aea 1124:b1705000eba1
       
     1 
     1 import os
     2 import os
     2 
     3 
     3 from CFileEditor import CFileEditor
     4 from CFileEditor import CFileEditor
     4 from CodeFileTreeNode import CodeFile
     5 from CodeFileTreeNode import CodeFile
     5 
     6 
    12           <xsd:attribute name="LDFLAGS" type="xsd:string" use="required"/>
    13           <xsd:attribute name="LDFLAGS" type="xsd:string" use="required"/>
    13         </xsd:complexType>
    14         </xsd:complexType>
    14       </xsd:element>
    15       </xsd:element>
    15     </xsd:schema>
    16     </xsd:schema>
    16     """
    17     """
       
    18     CODEFILE_NAME = "CFile"
       
    19     SECTIONS_NAMES = [
       
    20         "includes",
       
    21         "globals",
       
    22         "initFunction",
       
    23         "cleanUpFunction",
       
    24         "retrieveFunction",
       
    25         "publishFunction"]
    17     EditorType = CFileEditor
    26     EditorType = CFileEditor
       
    27     
       
    28     def GenerateClassesFromXSDstring(self, xsd_string):
       
    29         return GenerateClassesFromXSDstring(xsd_string)
    18     
    30     
    19     def GetIconName(self):
    31     def GetIconName(self):
    20         return "Cfile"
    32         return "Cfile"
    21 
    33 
    22     def CodeFileName(self):
    34     def CodeFileName(self):