Document all the gplugin symbols that should be documented
--- a/gplugin/gplugin-loader.c Mon Aug 12 23:38:40 2019 -0500
+++ b/gplugin/gplugin-loader.c Wed Aug 14 00:43:52 2019 -0500
@@ -20,6 +20,12 @@
#include <gplugin/gplugin-core.h>
+ * The standard _get_type macro for #GPluginLoader. * @Title: Plugin Loader Interface
* @Short_description: interface for loading plugins
@@ -28,6 +34,26 @@
* be able to use it to load plugins.
+ * An abstract data type that should not be accessed directly. + * @supported_extensions: The supported_extensions vfunc returns a #GList of + * file extensions that this loader supports. + * @query: The query vfunc is called when the plugin manager needs to query a + * plugin that has a file extension from @supported_extensions. + * @load: The load vfunc is called when the plugin manager wants to load a + * plugin that was previously queried by this loader. + * @unload: The unload vfunc is called when the plugin manager wants to unload + * a previously loaded plugin from this loader. + * #GPluginLoader class defines the behavior for loading plugins. /******************************************************************************
*****************************************************************************/
--- a/gplugin/gplugin-loader.h Mon Aug 12 23:38:40 2019 -0500
+++ b/gplugin/gplugin-loader.h Wed Aug 14 00:43:52 2019 -0500
@@ -34,15 +34,18 @@
#include <gplugin/gplugin-plugin.h>
struct _GPluginLoaderClass {
- GSList *(*supported_extensions)(const GPluginLoaderClass *klass);
+ GSList *(*supported_extensions)(GPluginLoaderClass *klass); GPluginPlugin *(*query)(GPluginLoader *loader, const gchar *filename, GError **error);
gboolean (*load)(GPluginLoader *loader, GPluginPlugin *plugin, GError **error);
gboolean (*unload)(GPluginLoader *loader, GPluginPlugin *plugin, GError **error);
--- a/gplugin/gplugin-native-loader.c Mon Aug 12 23:38:40 2019 -0500
+++ b/gplugin/gplugin-native-loader.c Wed Aug 14 00:43:52 2019 -0500
@@ -39,6 +39,18 @@
+ * GPLUGIN_TYPE_NATIVE_LOADER: + * The standard _get_type macro for #GPluginNativeLoader. + * A #GPluginLoader subclass that is able to load native plugins. * GPLUGIN_NATIVE_PLUGIN_ABI_VERSION:
* The ABI version of the #GPluginNativeLoader. Your plugin should use this
--- a/gplugin/gplugin-native-plugin.c Mon Aug 12 23:38:40 2019 -0500
+++ b/gplugin/gplugin-native-plugin.c Wed Aug 14 00:43:52 2019 -0500
@@ -35,6 +35,19 @@
+ * GPLUGIN_TYPE_NATIVE_PLUGIN: + * The standard _get_type macro for #GPluginNativePlugin. + * An instance of a loaded native plugin. A native plugin is a plugin that was + * compiled to machine native code, typically these are written in C/C++. /******************************************************************************
*****************************************************************************/
--- a/gplugin/gplugin-plugin-info.c Mon Aug 12 23:38:40 2019 -0500
+++ b/gplugin/gplugin-plugin-info.c Wed Aug 14 00:43:52 2019 -0500
@@ -29,6 +29,25 @@
* #GPluginPluginInfo holds metadata for plugins.
+ * GPLUGIN_TYPE_PLUGIN_INFO: + * The standard _get_type macro for #GPluginPluginInfo. + * #GPluginPluginInfo holds all of the data about a plugin. It is created when + * GPluginPluginInfoClass: + * The class structure for #GPluginPluginInfo. /******************************************************************************
*****************************************************************************/
--- a/gplugin/gplugin-plugin-info.h Mon Aug 12 23:38:40 2019 -0500
+++ b/gplugin/gplugin-plugin-info.h Wed Aug 14 00:43:52 2019 -0500
@@ -34,6 +34,7 @@
#include <gplugin/gplugin-version.h>
struct _GPluginPluginInfoClass {
GInitiallyUnownedClass gparent;
--- a/gplugin/gplugin-plugin.c Mon Aug 12 23:38:40 2019 -0500
+++ b/gplugin/gplugin-plugin.c Wed Aug 14 00:43:52 2019 -0500
@@ -43,6 +43,26 @@
* The expected states of a plugin.
+ * The standard _get_type macro for #GPluginPlugin. + * #GPluginPlugin is an opaque data structure and should not be used directly. + * GPluginPluginInterface: + * @state_changed: The signal to emit when the plugin's state has changed. + * The interface that defines the behavior of plugins, including properties and /******************************************************************************
*****************************************************************************/
--- a/gplugin/gplugin-plugin.h Mon Aug 12 23:38:40 2019 -0500
+++ b/gplugin/gplugin-plugin.h Wed Aug 14 00:43:52 2019 -0500
@@ -50,6 +50,7 @@
void (*state_changed)(GPluginPlugin *plugin, GPluginPluginState oldstate, GPluginPluginState newstate);
--- a/gplugin/reference/gplugin-docs.xml Mon Aug 12 23:38:40 2019 -0500
+++ b/gplugin/reference/gplugin-docs.xml Wed Aug 14 00:43:52 2019 -0500
@@ -23,6 +23,7 @@
<xi:include href="embedding.xml"/>
+ <xi:include href="native-plugins.xml"/> <part id="object-hierarchy">