public void initialize(PluginInterface pi) { Properties props = pi.getPluginProperties(); props.setProperty("plugin.mandatory", "true"); if (pi.getPluginVersion() == null) { props.setProperty("plugin.version", "1.0"); } props.setProperty("plugin.id", "azupdater"); }
public static void load(PluginInterface plugin_interface) { plugin_interface.getPluginProperties().setProperty("plugin.version", "1.0"); plugin_interface .getPluginProperties() .setProperty("plugin.name", "Universal Plug and Play (UPnP)"); }