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)

Members

Functions

__initCPlugin
int __initCPlugin(void* plugin_handle, immutable(char)** plugin_name, immutable(char)** plugin_desc, immutable(char)** plugin_version, char* arg)
Undocumented in source. Be warned that the author may not have intended to support it.

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.

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