Moved generic datafile loading to LibGimpBase:
2002-10-23 Michael Natterer <mitch@gimp.org> Moved generic datafile loading to LibGimpBase: * app/core/gimpdatafiles.[ch]: removed... * libgimpbase/gimpdatafiles.[ch]: ...and add here with a changed API which requires no more global variables. * libgimpbase/Makefile.am * libgimpbase/gimpbase.h * libgimpbase/gimpbasetypes.h * app/core/Makefile.am * app/core/core-types.h * app/core/gimpdatafactory.c * app/gui/gui.c * app/plug-in/plug-in.c * app/plug-in/plug-ins.c * app/tools/tools.c: changed accordingly. Moved module loading to LibGimpModule: * app/core/gimpmodules.c: removed lots of code... * libgimpmodule/gimpmoduledb.[ch]: ...and added it here as GimpModuleDB object. * libgimpmodule/Makefile.am * libgimpmodule/gimpmoduletypes.h: changed accordingly. * app/core/gimp.[ch]: replaced gimp->modules by gimp->module_db. * libgimpmodule/gimpmodule.[ch]: added gimp_module_query(). Internal cleanup. Stuff... * app/gui/module-browser.c: changed accordingly. Unfinished... * app/core/gimpcontainer.c * app/core/gimplist.c: reverted the HACKS introduced recently. * app/core/gimpobject.[ch]: added gimp_g_object_get_memsize() utility function. * libgimpproxy/gimpobject.[ch]: regenerated. Changed display filter configuration stuff: * libgimpwidgets/gimpcolordisplay.[ch]: made the virtual configure() function return a GtkWidget instead of opening a dialog. Changed configure_cancel() to configure_reset(). Added "changed" signal. * app/display/gimpdisplayshell-filter-dialog.c: embed the filters' config GUI in the dialog. Connect to "changed" and added a "Reset" button which resets the filter. * modules/cdisplay_gamma.c * modules/cdisplay_highcontrast.c: changed accordingly. * modules/colorsel_triangle.c * modules/colorsel_water.c: minor fixes. 2002-10-23 Michael Natterer <mitch@gimp.org> * libgimpbase/libgimpbase-docs.sgml * libgimpbase/libgimpbase-sections.txt * libgimpbase/tmpl/gimpbasetypes.sgml * libgimpbase/tmpl/gimpdatafiles.sgml: added GimpDatafiles * libgimpmodule/libgimpmodule-docs.sgml * libgimpmodule/libgimpmodule-sections.txt * libgimpmodule/tmpl/gimpmoduledb.sgml: added GimpModuleDB. * libgimpwidgets/libgimpwidgets.types: added gimp_dialog_get_type * libgimpmodule/tmpl/gimpmodule.sgml * libgimpwidgets/tmpl/gimpcolordisplay.sgml * libgimpwidgets/tmpl/gimpdialog.sgml: updated.
This commit is contained in:

committed by
Michael Natterer

parent
5f5e05a805
commit
c7ac6aff52
@ -1,6 +1,7 @@
|
||||
<!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
<!entity GimpBaseTypes SYSTEM "sgml/gimpbasetypes.sgml">
|
||||
<!entity GimpLimits SYSTEM "sgml/gimplimits.sgml">
|
||||
<!entity GimpDatafiles SYSTEM "sgml/gimpdatafiles.sgml">
|
||||
<!entity GimpEnv SYSTEM "sgml/gimpenv.sgml">
|
||||
<!entity GimpParasite SYSTEM "sgml/gimpparasite.sgml">
|
||||
<!entity GimpParasiteIO SYSTEM "sgml/gimpparasiteio.sgml">
|
||||
@ -20,6 +21,7 @@
|
||||
&GimpBaseTypes;
|
||||
&GimpVersion;
|
||||
&GimpLimits;
|
||||
&GimpDatafiles;
|
||||
&GimpEnv;
|
||||
&GimpParasite;
|
||||
&GimpParasiteIO;
|
||||
|
@ -5,6 +5,7 @@ GimpPDBProcType
|
||||
GimpPDBStatusType
|
||||
GimpMessageHandlerType
|
||||
GimpStackTraceMode
|
||||
GimpDatafileLoaderFunc
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
@ -162,3 +163,9 @@ GIMP_VERSION
|
||||
GIMP_CHECK_VERSION
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gimpdatafiles</FILE>
|
||||
GimpDatafileData
|
||||
gimp_datafiles_check_extension
|
||||
gimp_datafiles_read_directories
|
||||
</SECTION>
|
||||
|
@ -82,3 +82,11 @@ gimpbasetypes
|
||||
@GIMP_STACK_TRACE_QUERY:
|
||||
@GIMP_STACK_TRACE_ALWAYS:
|
||||
|
||||
<!-- ##### USER_FUNCTION GimpDatafileLoaderFunc ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@file_data:
|
||||
|
||||
|
||||
|
48
devel-docs/libgimpbase/tmpl/gimpdatafiles.sgml
Normal file
48
devel-docs/libgimpbase/tmpl/gimpdatafiles.sgml
Normal file
@ -0,0 +1,48 @@
|
||||
<!-- ##### SECTION Title ##### -->
|
||||
gimpdatafiles
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### STRUCT GimpDatafileData ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@filename:
|
||||
@atime:
|
||||
@mtime:
|
||||
@ctime:
|
||||
@user_data:
|
||||
|
||||
<!-- ##### FUNCTION gimp_datafiles_check_extension ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@filename:
|
||||
@extension:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_datafiles_read_directories ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@path_str:
|
||||
@flags:
|
||||
@loader_func:
|
||||
@user_data:
|
||||
|
||||
|
Reference in New Issue
Block a user