g_io_modules_scan_all_in_directory_with_scope


Description:

[ Deprecated ( since = "vala-0.16" , replacement = "IOModule.xscan_all_in_directory_with_scope" ) ]
public void g_io_modules_scan_all_in_directory_with_scope (string dirname, IOModuleScope scope)

Warning: g_io_modules_scan_all_in_directory_with_scope is deprecated. Use "IOModule.xscan_all_in_directory_with_scope".

Scans all the modules in the specified directory, ensuring that any extension point implemented by a module is registered.

This may not actually load and initialize all the types in each module, some modules may be lazily loaded and initialized when an extension point it implementes is used with e.g. get_extensions or get_extension_by_name.

If you need to guarantee that all types are loaded in all the modules, use g_io_modules_load_all_in_directory.

Parameters:

dirname

pathname for a directory containing modules to scan.

scope

a scope to use when scanning the modules


Namespace: GLib
Package: gio-2.0