plcopen/structures.py
changeset 92 76d5001393df
parent 78 049f2e7090a2
child 93 c3c24b979a4d
equal deleted inserted replaced
91:e8e9ddeed76c 92:76d5001393df
   197 
   197 
   198 """
   198 """
   199 Function that add a new plugin to the plugin list
   199 Function that add a new plugin to the plugin list
   200 """
   200 """
   201 
   201 
   202 def AddPlugin(blocklist):
   202 def AddPluginBlockList(blocklist):
   203     PluginTypes.append(blocklist)
   203     PluginTypes.extend(blocklist)
       
   204     
       
   205 def ClearPluginTypes():
       
   206     for i in xrange(len(PluginTypes)):
       
   207         PluginTypes.pop(0)
   204 
   208 
   205 #-------------------------------------------------------------------------------
   209 #-------------------------------------------------------------------------------
   206 #                           Data Types definitions
   210 #                           Data Types definitions
   207 #-------------------------------------------------------------------------------
   211 #-------------------------------------------------------------------------------
   208 
   212