IOModule

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(GIOModule* gIOModule, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(string filename)

Creates a new GIOModule that will load the specific shared library when in use.

Members

Functions

getIOModuleStruct
GIOModule* getIOModuleStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()
loadAllInDirectory
ListG loadAllInDirectory(string dirname)

Loads all the modules in the specified directory.

loadAllInDirectoryWithScope
ListG loadAllInDirectoryWithScope(string dirname, IOModuleScope scope_)

Loads all the modules in the specified directory.

scanAllInDirectory
void scanAllInDirectory(string dirname)

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

scanAllInDirectoryWithScope
void scanAllInDirectoryWithScope(string dirname, IOModuleScope scope_)

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

Variables

gIOModule
GIOModule* gIOModule;

the main Gtk struct