[Github-comments] [geany] Proxy plugins (#629)

Thomas Martitz notifications at xxxxx
Fri Sep 25 07:27:15 UTC 2015


> +
> +	plugin->proxy_funcs->probe  = demoproxy_probe;
> +	plugin->proxy_funcs->load   = demoproxy_load;
> +	plugin->proxy_funcs->unload = demoproxy_unload;
> +
> +	return geany_plugin_register_proxy(plugin, extensions);
> +}
> +
> + at endcode
> +
> +The callback functions deserve a closer look.
> +
> +As already mentioned the file format includes a magic first line which must be present.
> +GeanyProxyFuncs::probe() verifies that it's present and avoids showing the sub-plugin in the
> +Plugin Manager if not.
> +

In this example section the implementations of the demo proxy are detailed. So the text does in fact describe what the function does (and not what it should do, although it refers to aforementioned requirements).

What the callbacks should do is detailed in an earlier section 

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/629/files#r40405278
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20150925/2b74147f/attachment.html>


More information about the Github-comments mailing list