mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
pdb, libgimp: make the "pdb" PDB group private
and don't install its header. Temporarily add its only two remaining needed functions to gimppdb.[ch]. Also some Makefile cleanup.
This commit is contained in:
parent
25ec0a0381
commit
244b52bf0d
10 changed files with 178 additions and 149 deletions
|
@ -107,6 +107,11 @@ libgimp_built_sources = \
|
||||||
gimpenums.c
|
gimpenums.c
|
||||||
|
|
||||||
libgimp_private_sources = \
|
libgimp_private_sources = \
|
||||||
|
gimp-debug.c \
|
||||||
|
gimp-debug.h \
|
||||||
|
gimp-private.h \
|
||||||
|
gimp-shm.c \
|
||||||
|
gimp-shm.h \
|
||||||
gimpgpcompat.c \
|
gimpgpcompat.c \
|
||||||
gimpgpcompat.h \
|
gimpgpcompat.h \
|
||||||
gimpgpparams.c \
|
gimpgpparams.c \
|
||||||
|
@ -121,16 +126,13 @@ libgimp_private_sources = \
|
||||||
gimppixbuf.h \
|
gimppixbuf.h \
|
||||||
gimpplugin-private.c \
|
gimpplugin-private.c \
|
||||||
gimpplugin-private.h \
|
gimpplugin-private.h \
|
||||||
gimp-debug.c \
|
|
||||||
gimp-debug.h \
|
|
||||||
gimp-private.h \
|
|
||||||
gimp-shm.c \
|
|
||||||
gimp-shm.h \
|
|
||||||
gimpprocedure-private.c \
|
gimpprocedure-private.c \
|
||||||
gimpprocedure-private.h \
|
gimpprocedure-private.h \
|
||||||
\
|
\
|
||||||
gimpunit_pdb.c \
|
gimpunit_pdb.c \
|
||||||
gimpunit_pdb.h \
|
gimpunit_pdb.h \
|
||||||
|
gimppdb_pdb.c \
|
||||||
|
gimppdb_pdb.h \
|
||||||
gimpplugin_pdb.c \
|
gimpplugin_pdb.c \
|
||||||
gimpplugin_pdb.h
|
gimpplugin_pdb.h
|
||||||
|
|
||||||
|
@ -285,8 +287,6 @@ gimpuimarshal.c: gimpuimarshal.h
|
||||||
### GObject introspection
|
### GObject introspection
|
||||||
|
|
||||||
-include $(INTROSPECTION_MAKEFILE)
|
-include $(INTROSPECTION_MAKEFILE)
|
||||||
AUTOMAKE_OPTIONS = subdir-objects
|
|
||||||
include ../libgimp/Makefile.gi
|
|
||||||
include ../libgimpbase/Makefile.gi
|
include ../libgimpbase/Makefile.gi
|
||||||
include ../libgimpcolor/Makefile.gi
|
include ../libgimpcolor/Makefile.gi
|
||||||
include ../libgimpconfig/Makefile.gi
|
include ../libgimpconfig/Makefile.gi
|
||||||
|
|
|
@ -2,49 +2,48 @@
|
||||||
|
|
||||||
PDB_WRAPPERS_C = \
|
PDB_WRAPPERS_C = \
|
||||||
../libgimp/gimp_pdb.c \
|
../libgimp/gimp_pdb.c \
|
||||||
../libgimp/gimpbrush_pdb.c \
|
../libgimp/gimpbrush_pdb.c \
|
||||||
../libgimp/gimpbrushes_pdb.c \
|
../libgimp/gimpbrushes_pdb.c \
|
||||||
../libgimp/gimpbrushselect_pdb.c \
|
../libgimp/gimpbrushselect_pdb.c \
|
||||||
../libgimp/gimpbuffer_pdb.c \
|
../libgimp/gimpbuffer_pdb.c \
|
||||||
../libgimp/gimpchannel_pdb.c \
|
../libgimp/gimpchannel_pdb.c \
|
||||||
../libgimp/gimpcontext_pdb.c \
|
../libgimp/gimpcontext_pdb.c \
|
||||||
../libgimp/gimpdebug_pdb.c \
|
../libgimp/gimpdebug_pdb.c \
|
||||||
../libgimp/gimpdisplay_pdb.c \
|
../libgimp/gimpdisplay_pdb.c \
|
||||||
../libgimp/gimpdrawable_pdb.c \
|
../libgimp/gimpdrawable_pdb.c \
|
||||||
../libgimp/gimpdrawablecolor_pdb.c \
|
../libgimp/gimpdrawablecolor_pdb.c \
|
||||||
../libgimp/gimpdrawableedit_pdb.c \
|
../libgimp/gimpdrawableedit_pdb.c \
|
||||||
../libgimp/gimpdynamics_pdb.c \
|
../libgimp/gimpdynamics_pdb.c \
|
||||||
../libgimp/gimpedit_pdb.c \
|
../libgimp/gimpedit_pdb.c \
|
||||||
../libgimp/gimpfileops_pdb.c \
|
../libgimp/gimpfileops_pdb.c \
|
||||||
../libgimp/gimpfloatingsel_pdb.c \
|
../libgimp/gimpfloatingsel_pdb.c \
|
||||||
../libgimp/gimpfonts_pdb.c \
|
../libgimp/gimpfonts_pdb.c \
|
||||||
../libgimp/gimpfontselect_pdb.c \
|
../libgimp/gimpfontselect_pdb.c \
|
||||||
../libgimp/gimpgimprc_pdb.c \
|
../libgimp/gimpgimprc_pdb.c \
|
||||||
../libgimp/gimpgradient_pdb.c \
|
../libgimp/gimpgradient_pdb.c \
|
||||||
../libgimp/gimpgradients_pdb.c \
|
../libgimp/gimpgradients_pdb.c \
|
||||||
../libgimp/gimpgradientselect_pdb.c \
|
../libgimp/gimpgradientselect_pdb.c \
|
||||||
../libgimp/gimphelp_pdb.c \
|
../libgimp/gimphelp_pdb.c \
|
||||||
../libgimp/gimpimage_pdb.c \
|
../libgimp/gimpimage_pdb.c \
|
||||||
../libgimp/gimpimagecolorprofile_pdb.c \
|
../libgimp/gimpimagecolorprofile_pdb.c \
|
||||||
../libgimp/gimpimageconvert_pdb.c \
|
../libgimp/gimpimageconvert_pdb.c \
|
||||||
../libgimp/gimpimagegrid_pdb.c \
|
../libgimp/gimpimagegrid_pdb.c \
|
||||||
../libgimp/gimpimageguides_pdb.c \
|
../libgimp/gimpimageguides_pdb.c \
|
||||||
../libgimp/gimpimagesamplepoints_pdb.c \
|
../libgimp/gimpimagesamplepoints_pdb.c \
|
||||||
../libgimp/gimpimageselect_pdb.c \
|
../libgimp/gimpimageselect_pdb.c \
|
||||||
../libgimp/gimpimagetransform_pdb.c \
|
../libgimp/gimpimagetransform_pdb.c \
|
||||||
../libgimp/gimpimageundo_pdb.c \
|
../libgimp/gimpimageundo_pdb.c \
|
||||||
../libgimp/gimpitem_pdb.c \
|
../libgimp/gimpitem_pdb.c \
|
||||||
../libgimp/gimpitemtransform_pdb.c \
|
../libgimp/gimpitemtransform_pdb.c \
|
||||||
../libgimp/gimplayer_pdb.c \
|
../libgimp/gimplayer_pdb.c \
|
||||||
../libgimp/gimpmessage_pdb.c \
|
../libgimp/gimpmessage_pdb.c \
|
||||||
../libgimp/gimppainttools_pdb.c \
|
../libgimp/gimppainttools_pdb.c \
|
||||||
../libgimp/gimppalette_pdb.c \
|
../libgimp/gimppalette_pdb.c \
|
||||||
../libgimp/gimppalettes_pdb.c \
|
../libgimp/gimppalettes_pdb.c \
|
||||||
../libgimp/gimppaletteselect_pdb.c \
|
../libgimp/gimppaletteselect_pdb.c \
|
||||||
../libgimp/gimppattern_pdb.c \
|
../libgimp/gimppattern_pdb.c \
|
||||||
../libgimp/gimppatterns_pdb.c \
|
../libgimp/gimppatterns_pdb.c \
|
||||||
../libgimp/gimppatternselect_pdb.c \
|
../libgimp/gimppatternselect_pdb.c \
|
||||||
../libgimp/gimppdb_pdb.c \
|
|
||||||
../libgimp/gimpprogress_pdb.c \
|
../libgimp/gimpprogress_pdb.c \
|
||||||
../libgimp/gimpselection_pdb.c \
|
../libgimp/gimpselection_pdb.c \
|
||||||
../libgimp/gimptextlayer_pdb.c \
|
../libgimp/gimptextlayer_pdb.c \
|
||||||
|
@ -54,49 +53,48 @@ PDB_WRAPPERS_C = \
|
||||||
PDB_WRAPPERS_H = \
|
PDB_WRAPPERS_H = \
|
||||||
../libgimp/gimp_pdb_headers.h \
|
../libgimp/gimp_pdb_headers.h \
|
||||||
../libgimp/gimp_pdb.h \
|
../libgimp/gimp_pdb.h \
|
||||||
../libgimp/gimpbrush_pdb.h \
|
../libgimp/gimpbrush_pdb.h \
|
||||||
../libgimp/gimpbrushes_pdb.h \
|
../libgimp/gimpbrushes_pdb.h \
|
||||||
../libgimp/gimpbrushselect_pdb.h \
|
../libgimp/gimpbrushselect_pdb.h \
|
||||||
../libgimp/gimpbuffer_pdb.h \
|
../libgimp/gimpbuffer_pdb.h \
|
||||||
../libgimp/gimpchannel_pdb.h \
|
../libgimp/gimpchannel_pdb.h \
|
||||||
../libgimp/gimpcontext_pdb.h \
|
../libgimp/gimpcontext_pdb.h \
|
||||||
../libgimp/gimpdebug_pdb.h \
|
../libgimp/gimpdebug_pdb.h \
|
||||||
../libgimp/gimpdisplay_pdb.h \
|
../libgimp/gimpdisplay_pdb.h \
|
||||||
../libgimp/gimpdrawable_pdb.h \
|
../libgimp/gimpdrawable_pdb.h \
|
||||||
../libgimp/gimpdrawablecolor_pdb.h \
|
../libgimp/gimpdrawablecolor_pdb.h \
|
||||||
../libgimp/gimpdrawableedit_pdb.h \
|
../libgimp/gimpdrawableedit_pdb.h \
|
||||||
../libgimp/gimpdynamics_pdb.h \
|
../libgimp/gimpdynamics_pdb.h \
|
||||||
../libgimp/gimpedit_pdb.h \
|
../libgimp/gimpedit_pdb.h \
|
||||||
../libgimp/gimpfileops_pdb.h \
|
../libgimp/gimpfileops_pdb.h \
|
||||||
../libgimp/gimpfloatingsel_pdb.h \
|
../libgimp/gimpfloatingsel_pdb.h \
|
||||||
../libgimp/gimpfonts_pdb.h \
|
../libgimp/gimpfonts_pdb.h \
|
||||||
../libgimp/gimpfontselect_pdb.h \
|
../libgimp/gimpfontselect_pdb.h \
|
||||||
../libgimp/gimpgimprc_pdb.h \
|
../libgimp/gimpgimprc_pdb.h \
|
||||||
../libgimp/gimpgradient_pdb.h \
|
../libgimp/gimpgradient_pdb.h \
|
||||||
../libgimp/gimpgradients_pdb.h \
|
../libgimp/gimpgradients_pdb.h \
|
||||||
../libgimp/gimpgradientselect_pdb.h \
|
../libgimp/gimpgradientselect_pdb.h \
|
||||||
../libgimp/gimphelp_pdb.h \
|
../libgimp/gimphelp_pdb.h \
|
||||||
../libgimp/gimpimage_pdb.h \
|
../libgimp/gimpimage_pdb.h \
|
||||||
../libgimp/gimpimagecolorprofile_pdb.h \
|
../libgimp/gimpimagecolorprofile_pdb.h \
|
||||||
../libgimp/gimpimageconvert_pdb.h \
|
../libgimp/gimpimageconvert_pdb.h \
|
||||||
../libgimp/gimpimagegrid_pdb.h \
|
../libgimp/gimpimagegrid_pdb.h \
|
||||||
../libgimp/gimpimageguides_pdb.h \
|
../libgimp/gimpimageguides_pdb.h \
|
||||||
../libgimp/gimpimagesamplepoints_pdb.h \
|
../libgimp/gimpimagesamplepoints_pdb.h \
|
||||||
../libgimp/gimpimageselect_pdb.h \
|
../libgimp/gimpimageselect_pdb.h \
|
||||||
../libgimp/gimpimagetransform_pdb.h \
|
../libgimp/gimpimagetransform_pdb.h \
|
||||||
../libgimp/gimpimageundo_pdb.h \
|
../libgimp/gimpimageundo_pdb.h \
|
||||||
../libgimp/gimpitem_pdb.h \
|
../libgimp/gimpitem_pdb.h \
|
||||||
../libgimp/gimpitemtransform_pdb.h \
|
../libgimp/gimpitemtransform_pdb.h \
|
||||||
../libgimp/gimplayer_pdb.h \
|
../libgimp/gimplayer_pdb.h \
|
||||||
../libgimp/gimpmessage_pdb.h \
|
../libgimp/gimpmessage_pdb.h \
|
||||||
../libgimp/gimppainttools_pdb.h \
|
../libgimp/gimppainttools_pdb.h \
|
||||||
../libgimp/gimppalette_pdb.h \
|
../libgimp/gimppalette_pdb.h \
|
||||||
../libgimp/gimppalettes_pdb.h \
|
../libgimp/gimppalettes_pdb.h \
|
||||||
../libgimp/gimppaletteselect_pdb.h \
|
../libgimp/gimppaletteselect_pdb.h \
|
||||||
../libgimp/gimppattern_pdb.h \
|
../libgimp/gimppattern_pdb.h \
|
||||||
../libgimp/gimppatterns_pdb.h \
|
../libgimp/gimppatterns_pdb.h \
|
||||||
../libgimp/gimppatternselect_pdb.h \
|
../libgimp/gimppatternselect_pdb.h \
|
||||||
../libgimp/gimppdb_pdb.h \
|
|
||||||
../libgimp/gimpprogress_pdb.h \
|
../libgimp/gimpprogress_pdb.h \
|
||||||
../libgimp/gimpselection_pdb.h \
|
../libgimp/gimpselection_pdb.h \
|
||||||
../libgimp/gimptextlayer_pdb.h \
|
../libgimp/gimptextlayer_pdb.h \
|
||||||
|
@ -106,10 +104,10 @@ PDB_WRAPPERS_H = \
|
||||||
libgimp_introspectable = \
|
libgimp_introspectable = \
|
||||||
../libgimp/gimp.c \
|
../libgimp/gimp.c \
|
||||||
../libgimp/gimp.h \
|
../libgimp/gimp.h \
|
||||||
../libgimp/gimptypes.h \
|
../libgimp/gimptypes.h \
|
||||||
../libgimp/gimpenums.h \
|
../libgimp/gimpenums.h \
|
||||||
${PDB_WRAPPERS_C} \
|
${PDB_WRAPPERS_C} \
|
||||||
${PDB_WRAPPERS_H} \
|
${PDB_WRAPPERS_H} \
|
||||||
../libgimp/gimpbrushselect.c \
|
../libgimp/gimpbrushselect.c \
|
||||||
../libgimp/gimpbrushselect.h \
|
../libgimp/gimpbrushselect.h \
|
||||||
../libgimp/gimpchannel.c \
|
../libgimp/gimpchannel.c \
|
||||||
|
@ -118,26 +116,26 @@ libgimp_introspectable = \
|
||||||
../libgimp/gimpdrawable.h \
|
../libgimp/gimpdrawable.h \
|
||||||
../libgimp/gimpfontselect.c \
|
../libgimp/gimpfontselect.c \
|
||||||
../libgimp/gimpfontselect.h \
|
../libgimp/gimpfontselect.h \
|
||||||
../libgimp/gimpgimprc.c \
|
../libgimp/gimpgimprc.c \
|
||||||
../libgimp/gimpgimprc.h \
|
../libgimp/gimpgimprc.h \
|
||||||
../libgimp/gimpgradientselect.c \
|
../libgimp/gimpgradientselect.c \
|
||||||
../libgimp/gimpgradientselect.h \
|
../libgimp/gimpgradientselect.h \
|
||||||
../libgimp/gimpimage.c \
|
../libgimp/gimpimage.c \
|
||||||
../libgimp/gimpimage.h \
|
../libgimp/gimpimage.h \
|
||||||
../libgimp/gimpimagecolorprofile.c \
|
../libgimp/gimpimagecolorprofile.c \
|
||||||
../libgimp/gimpimagecolorprofile.h \
|
../libgimp/gimpimagecolorprofile.h \
|
||||||
../libgimp/gimplayer.c \
|
../libgimp/gimplayer.c \
|
||||||
../libgimp/gimplayer.h \
|
../libgimp/gimplayer.h \
|
||||||
../libgimp/gimppaletteselect.c \
|
../libgimp/gimppaletteselect.c \
|
||||||
../libgimp/gimppaletteselect.h \
|
../libgimp/gimppaletteselect.h \
|
||||||
../libgimp/gimpparamspecs.c \
|
../libgimp/gimpparamspecs.c \
|
||||||
../libgimp/gimpparamspecs.h \
|
../libgimp/gimpparamspecs.h \
|
||||||
../libgimp/gimppatternselect.c \
|
../libgimp/gimppatternselect.c \
|
||||||
../libgimp/gimppatternselect.h \
|
../libgimp/gimppatternselect.h \
|
||||||
../libgimp/gimppdb.c \
|
../libgimp/gimppdb.c \
|
||||||
../libgimp/gimppdb.h \
|
../libgimp/gimppdb.h \
|
||||||
../libgimp/gimpplugin.c \
|
../libgimp/gimpplugin.c \
|
||||||
../libgimp/gimpplugin.h \
|
../libgimp/gimpplugin.h \
|
||||||
../libgimp/gimpprocedure.c \
|
../libgimp/gimpprocedure.c \
|
||||||
../libgimp/gimpprocedure.h \
|
../libgimp/gimpprocedure.h \
|
||||||
../libgimp/gimpprogress.c \
|
../libgimp/gimpprogress.c \
|
||||||
|
@ -145,7 +143,7 @@ libgimp_introspectable = \
|
||||||
../libgimp/gimpselection.c \
|
../libgimp/gimpselection.c \
|
||||||
../libgimp/gimpselection.h
|
../libgimp/gimpselection.h
|
||||||
|
|
||||||
libgimpui_introspectable = \
|
libgimpui_introspectable = \
|
||||||
../libgimp/gimpui.c \
|
../libgimp/gimpui.c \
|
||||||
../libgimp/gimpui.h \
|
../libgimp/gimpui.h \
|
||||||
../libgimp/gimpuitypes.h \
|
../libgimp/gimpuitypes.h \
|
||||||
|
@ -155,18 +153,18 @@ libgimpui_introspectable = \
|
||||||
../libgimp/gimpbrushselectbutton.h \
|
../libgimp/gimpbrushselectbutton.h \
|
||||||
../libgimp/gimpdrawablepreview.c \
|
../libgimp/gimpdrawablepreview.c \
|
||||||
../libgimp/gimpdrawablepreview.h \
|
../libgimp/gimpdrawablepreview.h \
|
||||||
../libgimp/gimpexport.c \
|
../libgimp/gimpexport.c \
|
||||||
../libgimp/gimpexport.h \
|
../libgimp/gimpexport.h \
|
||||||
../libgimp/gimpfontselectbutton.c \
|
../libgimp/gimpfontselectbutton.c \
|
||||||
../libgimp/gimpfontselectbutton.h \
|
../libgimp/gimpfontselectbutton.h \
|
||||||
../libgimp/gimpgradientselectbutton.c\
|
../libgimp/gimpgradientselectbutton.c \
|
||||||
../libgimp/gimpgradientselectbutton.h\
|
../libgimp/gimpgradientselectbutton.h \
|
||||||
../libgimp/gimpimagecombobox.c \
|
../libgimp/gimpimagecombobox.c \
|
||||||
../libgimp/gimpimagecombobox.h \
|
../libgimp/gimpimagecombobox.h \
|
||||||
../libgimp/gimpimagemetadata.c \
|
../libgimp/gimpimagemetadata.c \
|
||||||
../libgimp/gimpimagemetadata.h \
|
../libgimp/gimpimagemetadata.h \
|
||||||
../libgimp/gimpitemcombobox.c \
|
../libgimp/gimpitemcombobox.c \
|
||||||
../libgimp/gimpitemcombobox.h \
|
../libgimp/gimpitemcombobox.h \
|
||||||
../libgimp/gimppaletteselectbutton.c \
|
../libgimp/gimppaletteselectbutton.c \
|
||||||
../libgimp/gimppaletteselectbutton.h \
|
../libgimp/gimppaletteselectbutton.h \
|
||||||
../libgimp/gimppatternselectbutton.c \
|
../libgimp/gimppatternselectbutton.c \
|
||||||
|
@ -177,7 +175,7 @@ libgimpui_introspectable = \
|
||||||
../libgimp/gimpprocview.h \
|
../libgimp/gimpprocview.h \
|
||||||
../libgimp/gimpprogressbar.c \
|
../libgimp/gimpprogressbar.c \
|
||||||
../libgimp/gimpprogressbar.h \
|
../libgimp/gimpprogressbar.h \
|
||||||
../libgimp/gimpselectbutton.c \
|
../libgimp/gimpselectbutton.c \
|
||||||
../libgimp/gimpselectbutton.h \
|
../libgimp/gimpselectbutton.h \
|
||||||
../libgimp/gimpzoompreview.c \
|
../libgimp/gimpzoompreview.c \
|
||||||
../libgimp/gimpzoompreview.h
|
../libgimp/gimpzoompreview.h
|
||||||
|
|
|
@ -70,7 +70,6 @@
|
||||||
#include <libgimp/gimppattern_pdb.h>
|
#include <libgimp/gimppattern_pdb.h>
|
||||||
#include <libgimp/gimppatterns_pdb.h>
|
#include <libgimp/gimppatterns_pdb.h>
|
||||||
#include <libgimp/gimppatternselect_pdb.h>
|
#include <libgimp/gimppatternselect_pdb.h>
|
||||||
#include <libgimp/gimppdb_pdb.h>
|
|
||||||
#include <libgimp/gimpprogress_pdb.h>
|
#include <libgimp/gimpprogress_pdb.h>
|
||||||
#include <libgimp/gimpselection_pdb.h>
|
#include <libgimp/gimpselection_pdb.h>
|
||||||
#include <libgimp/gimptextlayer_pdb.h>
|
#include <libgimp/gimptextlayer_pdb.h>
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include "gimp-private.h"
|
#include "gimp-private.h"
|
||||||
#include "gimpgpcompat.h"
|
#include "gimpgpcompat.h"
|
||||||
#include "gimpgpparams.h"
|
#include "gimpgpparams.h"
|
||||||
|
#include "gimppdb_pdb.h"
|
||||||
#include "gimpplugin_pdb.h"
|
#include "gimpplugin_pdb.h"
|
||||||
#include "gimplegacy-private.h"
|
#include "gimplegacy-private.h"
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include "gimp-private.h"
|
#include "gimp-private.h"
|
||||||
#include "gimpgpparams.h"
|
#include "gimpgpparams.h"
|
||||||
#include "gimppdb-private.h"
|
#include "gimppdb-private.h"
|
||||||
|
#include "gimppdb_pdb.h"
|
||||||
#include "gimppdbprocedure.h"
|
#include "gimppdbprocedure.h"
|
||||||
#include "gimpplugin-private.h"
|
#include "gimpplugin-private.h"
|
||||||
|
|
||||||
|
@ -431,6 +432,22 @@ _gimp_pdb_error_quark (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Temporary API, to go away before 3.0 */
|
||||||
|
|
||||||
|
GParamSpec *
|
||||||
|
gimp_pdb_proc_argument (const gchar *procedure_name,
|
||||||
|
gint arg_num)
|
||||||
|
{
|
||||||
|
return _gimp_pdb_proc_argument (procedure_name, arg_num);
|
||||||
|
}
|
||||||
|
|
||||||
|
GParamSpec *
|
||||||
|
gimp_pdb_proc_return_value (const gchar *procedure_name,
|
||||||
|
gint val_num)
|
||||||
|
{
|
||||||
|
return _gimp_pdb_proc_return_value (procedure_name, val_num);
|
||||||
|
}
|
||||||
|
|
||||||
/* Cruft API */
|
/* Cruft API */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -100,6 +100,12 @@ gchar ** gimp_pdb_query_procedures (GimpPDB *pdb,
|
||||||
const gchar *proc_type,
|
const gchar *proc_type,
|
||||||
gint *num_matches);
|
gint *num_matches);
|
||||||
|
|
||||||
|
/* Temporary API, to go away before 3.0 */
|
||||||
|
|
||||||
|
GParamSpec * gimp_pdb_proc_argument (const gchar *procedure_name,
|
||||||
|
gint arg_num);
|
||||||
|
GParamSpec * gimp_pdb_proc_return_value (const gchar *procedure_name,
|
||||||
|
gint val_num);
|
||||||
|
|
||||||
/* Cruft API */
|
/* Cruft API */
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "gimp.h"
|
#include "gimp.h"
|
||||||
|
#include "gimppdb_pdb.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* _gimp_pdb_temp_name:
|
* _gimp_pdb_temp_name:
|
||||||
|
@ -429,7 +430,7 @@ _gimp_pdb_proc_val (const gchar *procedure_name,
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gimp_pdb_proc_argument:
|
* _gimp_pdb_proc_argument:
|
||||||
* @procedure_name: The procedure name.
|
* @procedure_name: The procedure name.
|
||||||
* @arg_num: The argument number.
|
* @arg_num: The argument number.
|
||||||
*
|
*
|
||||||
|
@ -444,8 +445,8 @@ _gimp_pdb_proc_val (const gchar *procedure_name,
|
||||||
* Since: 3.0
|
* Since: 3.0
|
||||||
**/
|
**/
|
||||||
GParamSpec *
|
GParamSpec *
|
||||||
gimp_pdb_proc_argument (const gchar *procedure_name,
|
_gimp_pdb_proc_argument (const gchar *procedure_name,
|
||||||
gint arg_num)
|
gint arg_num)
|
||||||
{
|
{
|
||||||
GimpPDB *pdb = gimp_get_pdb ();
|
GimpPDB *pdb = gimp_get_pdb ();
|
||||||
GimpValueArray *args;
|
GimpValueArray *args;
|
||||||
|
@ -475,7 +476,7 @@ gimp_pdb_proc_argument (const gchar *procedure_name,
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gimp_pdb_proc_return_value:
|
* _gimp_pdb_proc_return_value:
|
||||||
* @procedure_name: The procedure name.
|
* @procedure_name: The procedure name.
|
||||||
* @val_num: The return value number.
|
* @val_num: The return value number.
|
||||||
*
|
*
|
||||||
|
@ -491,8 +492,8 @@ gimp_pdb_proc_argument (const gchar *procedure_name,
|
||||||
* Since: 3.0
|
* Since: 3.0
|
||||||
**/
|
**/
|
||||||
GParamSpec *
|
GParamSpec *
|
||||||
gimp_pdb_proc_return_value (const gchar *procedure_name,
|
_gimp_pdb_proc_return_value (const gchar *procedure_name,
|
||||||
gint val_num)
|
gint val_num)
|
||||||
{
|
{
|
||||||
GimpPDB *pdb = gimp_get_pdb ();
|
GimpPDB *pdb = gimp_get_pdb ();
|
||||||
GimpValueArray *args;
|
GimpValueArray *args;
|
||||||
|
|
|
@ -32,48 +32,48 @@ G_BEGIN_DECLS
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
G_GNUC_INTERNAL gchar* _gimp_pdb_temp_name (void);
|
G_GNUC_INTERNAL gchar* _gimp_pdb_temp_name (void);
|
||||||
G_GNUC_INTERNAL gboolean _gimp_pdb_dump (const gchar *filename);
|
G_GNUC_INTERNAL gboolean _gimp_pdb_dump (const gchar *filename);
|
||||||
G_GNUC_INTERNAL gboolean _gimp_pdb_query (const gchar *name,
|
G_GNUC_INTERNAL gboolean _gimp_pdb_query (const gchar *name,
|
||||||
const gchar *blurb,
|
const gchar *blurb,
|
||||||
const gchar *help,
|
const gchar *help,
|
||||||
const gchar *author,
|
const gchar *author,
|
||||||
const gchar *copyright,
|
const gchar *copyright,
|
||||||
const gchar *date,
|
const gchar *date,
|
||||||
const gchar *proc_type,
|
const gchar *proc_type,
|
||||||
gint *num_matches,
|
gint *num_matches,
|
||||||
gchar ***procedure_names);
|
gchar ***procedure_names);
|
||||||
G_GNUC_INTERNAL gboolean _gimp_pdb_proc_exists (const gchar *procedure_name);
|
G_GNUC_INTERNAL gboolean _gimp_pdb_proc_exists (const gchar *procedure_name);
|
||||||
G_GNUC_INTERNAL gboolean _gimp_pdb_proc_info (const gchar *procedure_name,
|
G_GNUC_INTERNAL gboolean _gimp_pdb_proc_info (const gchar *procedure_name,
|
||||||
gchar **blurb,
|
gchar **blurb,
|
||||||
gchar **help,
|
gchar **help,
|
||||||
gchar **author,
|
gchar **author,
|
||||||
gchar **copyright,
|
gchar **copyright,
|
||||||
gchar **date,
|
gchar **date,
|
||||||
GimpPDBProcType *proc_type,
|
GimpPDBProcType *proc_type,
|
||||||
gint *num_args,
|
gint *num_args,
|
||||||
gint *num_values);
|
gint *num_values);
|
||||||
G_GNUC_INTERNAL gboolean _gimp_pdb_proc_arg (const gchar *procedure_name,
|
G_GNUC_INTERNAL gboolean _gimp_pdb_proc_arg (const gchar *procedure_name,
|
||||||
gint arg_num,
|
gint arg_num,
|
||||||
GimpPDBArgType *arg_type,
|
GimpPDBArgType *arg_type,
|
||||||
gchar **arg_name,
|
gchar **arg_name,
|
||||||
gchar **arg_desc);
|
gchar **arg_desc);
|
||||||
G_GNUC_INTERNAL gboolean _gimp_pdb_proc_val (const gchar *procedure_name,
|
G_GNUC_INTERNAL gboolean _gimp_pdb_proc_val (const gchar *procedure_name,
|
||||||
gint val_num,
|
gint val_num,
|
||||||
GimpPDBArgType *val_type,
|
GimpPDBArgType *val_type,
|
||||||
gchar **val_name,
|
gchar **val_name,
|
||||||
gchar **val_desc);
|
gchar **val_desc);
|
||||||
GParamSpec* gimp_pdb_proc_argument (const gchar *procedure_name,
|
G_GNUC_INTERNAL GParamSpec* _gimp_pdb_proc_argument (const gchar *procedure_name,
|
||||||
gint arg_num);
|
gint arg_num);
|
||||||
GParamSpec* gimp_pdb_proc_return_value (const gchar *procedure_name,
|
G_GNUC_INTERNAL GParamSpec* _gimp_pdb_proc_return_value (const gchar *procedure_name,
|
||||||
gint val_num);
|
gint val_num);
|
||||||
G_GNUC_INTERNAL gboolean _gimp_pdb_get_data (const gchar *identifier,
|
G_GNUC_INTERNAL gboolean _gimp_pdb_get_data (const gchar *identifier,
|
||||||
gint *bytes,
|
gint *bytes,
|
||||||
guint8 **data);
|
guint8 **data);
|
||||||
G_GNUC_INTERNAL gint _gimp_pdb_get_data_size (const gchar *identifier);
|
G_GNUC_INTERNAL gint _gimp_pdb_get_data_size (const gchar *identifier);
|
||||||
G_GNUC_INTERNAL gboolean _gimp_pdb_set_data (const gchar *identifier,
|
G_GNUC_INTERNAL gboolean _gimp_pdb_set_data (const gchar *identifier,
|
||||||
gint bytes,
|
gint bytes,
|
||||||
const guint8 *data);
|
const guint8 *data);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "gimp.h"
|
#include "gimp.h"
|
||||||
#include "gimppdb-private.h"
|
#include "gimppdb-private.h"
|
||||||
|
#include "gimppdb_pdb.h"
|
||||||
#include "gimppdbprocedure.h"
|
#include "gimppdbprocedure.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -268,6 +268,8 @@ HELP
|
||||||
$date = '2019';
|
$date = '2019';
|
||||||
$since = '3.0';
|
$since = '3.0';
|
||||||
|
|
||||||
|
$lib_private = 1;
|
||||||
|
|
||||||
@inargs = (
|
@inargs = (
|
||||||
{ name => 'procedure_name', type => 'string', non_empty => 1,
|
{ name => 'procedure_name', type => 'string', non_empty => 1,
|
||||||
desc => 'The procedure name' },
|
desc => 'The procedure name' },
|
||||||
|
@ -327,6 +329,8 @@ HELP
|
||||||
$date = '2019';
|
$date = '2019';
|
||||||
$since = '3.0';
|
$since = '3.0';
|
||||||
|
|
||||||
|
$lib_private = 1;
|
||||||
|
|
||||||
@inargs = (
|
@inargs = (
|
||||||
{ name => 'procedure_name', type => 'string', non_empty => 1,
|
{ name => 'procedure_name', type => 'string', non_empty => 1,
|
||||||
desc => 'The procedure name' },
|
desc => 'The procedure name' },
|
||||||
|
@ -657,4 +661,6 @@ CODE
|
||||||
|
|
||||||
$desc = 'Procedural database';
|
$desc = 'Procedural database';
|
||||||
|
|
||||||
|
$lib_private = 1;
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue