- 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);
+}
+@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
github-comments@lists.geany.org