--- a/plcopen/structures.py Thu Sep 13 09:46:51 2007 +0200
+++ b/plcopen/structures.py Mon Sep 17 10:13:56 2007 +0200
@@ -199,8 +199,12 @@
Function that add a new plugin to the plugin list
"""
-def AddPlugin(blocklist):
- PluginTypes.append(blocklist)
+def AddPluginBlockList(blocklist):
+ PluginTypes.extend(blocklist)
+
+def ClearPluginTypes():
+ for i in xrange(len(PluginTypes)):
+ PluginTypes.pop(0)
#-------------------------------------------------------------------------------
# Data Types definitions