1 class PluginDescriptor:
2 """An object to describe a plugin."""
4 # where to list the plugin. Note that there are different call arguments,
5 # so you might not be able to combine them.
7 # supported arguments are:
16 # argument: session, serviceref (currently selected)
21 # reason (0: start, 1: end)
24 # start as wizard. In that case, fnc must be a screen class!
27 def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None):
29 if type(where) is list:
32 self.where = [ where ]
33 self.description = description
35 self.icon = loadPNG("..")