IOModuleScope

Provides an interface and default functions for loading and unloading modules. This is used internally to make GIO extensible, but can also be used by others to implement module loading.

Constructors

this
this(GIOModuleScope* gIOModuleScope)

Sets our main struct and passes it to the parent class

this
this(GIOModuleScopeFlags flags)

Create a new scope for loading of IO modules. A scope can be used for blocking duplicate modules, or blocking a module you don't want to load. Specify the G_IO_MODULE_SCOPE_BLOCK_DUPLICATES flag to block modules which have the same base name as a module that has already been seen in this scope. Since 2.30

Destructor

~this
~this()
Undocumented in source.

Members

Functions

block
void block(string basename)

Block modules with the given basename from being loaded when this scope is used with g_io_modules_scan_all_in_directory_with_scope() or g_io_modules_load_all_in_directory_with_scope(). Since 2.30

free
void free()

Free a module scope. Since 2.30

getIOModuleScopeStruct
GIOModuleScope* getIOModuleScopeStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

Variables

gIOModuleScope
GIOModuleScope* gIOModuleScope;

the main Gtk struct

Meta