Plugin

Generate entry and exit points for this plugin.

  1. mixintemplate Plugin(alias initFunc, PluginStyle style = PluginStyle.hexchat)
  2. mixintemplate Plugin(alias initFunc, alias deinitFunc, PluginStyle style = PluginStyle.hexchat)
    mixin template Plugin (
    alias initFunc
    alias deinitFunc
    PluginStyle style = PluginStyle.hexchat
    ) {}

Members

Functions

__deinitCPlugin
int __deinitCPlugin(void* plugin_handle)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin Plugin!(initFunc, style)
Undocumented in source.

Parameters

initFunc

plugin initialization function. Must take one parameter of type PluginInfo by reference. Run when the plugin is loaded by the IRC client. Set the PluginInfo's fields to configure those properties of this plugin.

deinitFunc

plugin de-initialization function. Must take no parameters. Run when then plugin is unloaded by the IRC client. Optional.

style

ABI to follow. Use PluginStyle.hexchat for HexChat plugins and PluginStyle.xchat for plugins for other clients. The two ABIs are not cross-compatible.

Meta