public override void InitializePlugin(IPoderosaWorld poderosa) { base.InitializePlugin(poderosa); _instance = this; ICoreServices cs = (ICoreServices)poderosa.GetAdapter(typeof(ICoreServices)); poderosa.Culture.AddChangeListener(UsabilityPlugin.Strings); IPluginManager pm = poderosa.PluginManager; _commandManager = cs.CommandManager; Debug.Assert(_commandManager != null); _windowManager = cs.WindowManager; Debug.Assert(_windowManager != null); //Guevara AboutBox pm.FindExtensionPoint("org.poderosa.window.aboutbox").RegisterExtension(new GuevaraAboutBoxFactory()); //SSH KnownHost _sshKnownHosts = new SSHKnownHosts(); cs.PreferenceExtensionPoint.RegisterExtension(_sshKnownHosts); pm.FindExtensionPoint(ProtocolsPluginConstants.HOSTKEYCHECKER_EXTENSION).RegisterExtension(_sshKnownHosts); }