GIMP Module Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
struct GimpModule; struct GimpModuleInfo; enum GimpModuleState; const GimpModuleInfo* (*GimpModuleQueryFunc) (GTypeModule *module); gboolean (*GimpModuleRegisterFunc) (GTypeModule *module); GimpModule* gimp_module_new (const gchar *filename, gboolean load_inhibit, gboolean verbose); void gimp_module_modified (GimpModule *module); gboolean gimp_module_query_module (GimpModule *module); void gimp_module_set_load_inhibit (GimpModule *module, gboolean load_inhibit); const gchar* gimp_module_state_name (GimpModuleState state); GimpModuleInfo* gimp_module_info_new (const gchar *purpose, const gchar *author, const gchar *version, const gchar *copyright, const gchar *date); GimpModuleInfo* gimp_module_info_copy (const GimpModuleInfo *info); void gimp_module_info_free (GimpModuleInfo *info); |
struct GimpModuleInfo { gchar *purpose; gchar *author; gchar *version; gchar *copyright; gchar *date; }; |
typedef enum { GIMP_MODULE_STATE_ERROR, /* missing gimp_module_register function * or other error */ GIMP_MODULE_STATE_LOADED, /* an instance of a type implemented by * this module is allocated */ GIMP_MODULE_STATE_LOAD_FAILED, /* gimp_module_register returned FALSE */ GIMP_MODULE_STATE_NOT_LOADED /* there are no instances allocated of * types implemented by this module */ } GimpModuleState; |
GimpModule* gimp_module_new (const gchar *filename, gboolean load_inhibit, gboolean verbose); |
void gimp_module_set_load_inhibit (GimpModule *module, gboolean load_inhibit); |
GimpModuleInfo* gimp_module_info_new (const gchar *purpose, const gchar *author, const gchar *version, const gchar *copyright, const gchar *date); |