[][src]Function hexchat::add_fake_plugin

pub fn add_fake_plugin(
    path: impl AsRef<Path>,
    name: &str,
    description: &str,
    version: &str
) -> FakePlugin

Adds a fake plugin to the plugin list.

Useful for scripting enablement plugins, like the Lua plugin. You don't need to use this to add your crate-registered plugin, and please don't. Returns a corresponding object suitable for passing to remove_fake_plugin.