mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
+ added default run/term for modern plugins
No longer need to implement dummy/empty run/term callbacks in plugin_t.
This commit is contained in:
@@ -231,7 +231,8 @@ def _bounded_getitem_iterator(self):
|
||||
# -----------------------------------------------------------------------
|
||||
class plugin_t(pyidc_opaque_object_t):
|
||||
"""Base class for all scripted plugins."""
|
||||
pass
|
||||
def run(self, arg): pass
|
||||
def term(self): pass
|
||||
|
||||
# -----------------------------------------------------------------------
|
||||
class plugmod_t(pyidc_opaque_object_t):
|
||||
|
||||
Reference in New Issue
Block a user