c_ext/c_ext.py
changeset 1124 b1705000eba1
parent 1119 34db4294c177
child 1315 ff14a66bbd12
--- a/c_ext/c_ext.py	Sun May 12 23:32:30 2013 +0200
+++ b/c_ext/c_ext.py	Mon May 13 14:31:23 2013 +0200
@@ -1,3 +1,4 @@
+
 import os
 
 from CFileEditor import CFileEditor
@@ -14,8 +15,19 @@
       </xsd:element>
     </xsd:schema>
     """
+    CODEFILE_NAME = "CFile"
+    SECTIONS_NAMES = [
+        "includes",
+        "globals",
+        "initFunction",
+        "cleanUpFunction",
+        "retrieveFunction",
+        "publishFunction"]
     EditorType = CFileEditor
     
+    def GenerateClassesFromXSDstring(self, xsd_string):
+        return GenerateClassesFromXSDstring(xsd_string)
+    
     def GetIconName(self):
         return "Cfile"