Virtual Method

GPluginSourcescan

since: 0.39

Declaration [src]

gboolean
scan (
  GPluginSource* source
)

Description [src]

This method is called when gplugin_manager_refresh() is running. The source should scan its available sources for plugins. For the filesystem source, this is paths that have been registered with the manager.

The implementation should return TRUE if it found a new unqueried plugin, which will tell the manager to continue scanning.

Available since: 0.39

Return value

Type: gboolean

TRUE if an unqueried plugin was found, FALSE otherwise.