geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

GeanyProxyFuncs Struct Reference

Hooks that need to be implemented by every proxy. More...

#include <plugindata.h>

Public Attributes

gint(* probe )(GeanyPlugin *proxy, const gchar *filename, gpointer pdata)
 Called to determine whether the proxy is truly responsible for the requested plugin. More...
 
gpointer(* load )(GeanyPlugin *proxy, GeanyPlugin *subplugin, const gchar *filename, gpointer pdata)
 Called after probe(), to perform the actual job of loading the plugin. More...
 
void(* unload )(GeanyPlugin *proxy, GeanyPlugin *subplugin, gpointer load_data, gpointer pdata)
 Called when the user initiates unloading of a plugin, e.g. More...
 

Detailed Description

Hooks that need to be implemented by every proxy.

See also
geany_plugin_register_proxy() for a full description of the proxy mechanism.
Since
1.26 (API 226)

Definition at line 389 of file plugindata.h.

Member Data Documentation

◆ load

gpointer(* GeanyProxyFuncs::load) (GeanyPlugin *proxy, GeanyPlugin *subplugin, const gchar *filename, gpointer pdata)

Called after probe(), to perform the actual job of loading the plugin.

Definition at line 395 of file plugindata.h.

Referenced by demoproxy_init(), geany_plugin_register_proxy(), and plugin_new().

◆ probe

gint(* GeanyProxyFuncs::probe) (GeanyPlugin *proxy, const gchar *filename, gpointer pdata)

Called to determine whether the proxy is truly responsible for the requested plugin.

A NULL pointer assumes the probe() function would always return GEANY_PROXY_MATCH

Definition at line 393 of file plugindata.h.

Referenced by demoproxy_init(), and is_plugin().

◆ unload

void(* GeanyProxyFuncs::unload) (GeanyPlugin *proxy, GeanyPlugin *subplugin, gpointer load_data, gpointer pdata)

Called when the user initiates unloading of a plugin, e.g.

on Geany exit

Definition at line 397 of file plugindata.h.

Referenced by demoproxy_init(), geany_plugin_register_proxy(), plugin_free(), and plugin_new().


The documentation for this struct was generated from the following file: