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