POULibrary.py
changeset 1917 d51d14719392
parent 1881 091005ec69c4
child 2645 d15a997859b1
child 2964 a7b11c9f468e
equal deleted inserted replaced
1916:b69bea00765a 1917:d51d14719392
    56         raise Exception("Not implemented")
    56         raise Exception("Not implemented")
    57 
    57 
    58     def Generate_C(self, buildpath, varlist, IECCFLAGS):
    58     def Generate_C(self, buildpath, varlist, IECCFLAGS):
    59         # Pure python or IEC libs doesn't produce C code
    59         # Pure python or IEC libs doesn't produce C code
    60         return ((""), [], False), ""
    60         return ((""), [], False), ""
       
    61 
       
    62 
       
    63 def SimplePOULibraryFactory(path):
       
    64     class SimplePOULibrary(POULibrary):
       
    65         def GetLibraryPath(self):
       
    66             return path
       
    67     return SimplePOULibrary