/ gwsettingsinterface.h / Functions / Description

Functions



gw_settings_module_new

Allocates a new GWSettingsModule structure.
GWSettingsModule * gw_settings_module_new ( );
This function allocates a new GWSettingsModule structure.

Result: a settings module.
Returns NULL when an error occured.


gw_settings_module_check

Checks if the module have all needed functions.
gboolean gw_settings_module_check ( GWSettingsModule *module);
This function checks if the module have all needed functions.

Parameters
module settings module to check

Result: Returns TRUE if the settings module is good and implements all needed functions. Returns FALSE if the settings module doesn't implement all needed functions or when an error occured.


gw_settings_module_free

Frees the GWSettingsModule structure.
gint gw_settings_module_free ( GWSettingsModule *module);
This function frees the GWSettingsModule structure.

Parameters
module settings module to free

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured.
.