Only class and subclasses creation and PDB generation for this first step. I'll later do other types of items.
96 lines
4.2 KiB
C
96 lines
4.2 KiB
C
/* LIBGIMP - The GIMP Library
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
|
*
|
|
* gimpedit_pdb.h
|
|
*
|
|
* This library is free software: you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 3 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see
|
|
* <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/* NOTE: This file is auto-generated by pdbgen.pl */
|
|
|
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
|
#error "Only <libgimp/gimp.h> can be included directly."
|
|
#endif
|
|
|
|
#ifndef __GIMP_EDIT_PDB_H__
|
|
#define __GIMP_EDIT_PDB_H__
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
|
|
|
|
#ifndef GIMP_DEPRECATED_REPLACE_NEW_API
|
|
|
|
gboolean gimp_edit_cut (GimpDrawable *drawable);
|
|
gboolean gimp_edit_copy (GimpDrawable *drawable);
|
|
gboolean gimp_edit_copy_visible (GimpImage *image);
|
|
GimpLayer* gimp_edit_paste (GimpDrawable *drawable,
|
|
gboolean paste_into);
|
|
GimpImage* gimp_edit_paste_as_new_image (void);
|
|
gchar* gimp_edit_named_cut (GimpDrawable *drawable,
|
|
const gchar *buffer_name);
|
|
gchar* gimp_edit_named_copy (GimpDrawable *drawable,
|
|
const gchar *buffer_name);
|
|
gchar* gimp_edit_named_copy_visible (GimpImage *image,
|
|
const gchar *buffer_name);
|
|
GimpLayer* gimp_edit_named_paste (GimpDrawable *drawable,
|
|
const gchar *buffer_name,
|
|
gboolean paste_into);
|
|
GimpImage* gimp_edit_named_paste_as_new_image (const gchar *buffer_name);
|
|
|
|
#else /* GIMP_DEPRECATED_REPLACE_NEW_API */
|
|
|
|
#define gimp_edit_cut _gimp_edit_cut
|
|
#define gimp_edit_copy _gimp_edit_copy
|
|
#define gimp_edit_copy_visible _gimp_edit_copy_visible
|
|
#define gimp_edit_paste _gimp_edit_paste
|
|
#define gimp_edit_paste_as_new_image _gimp_edit_paste_as_new_image
|
|
#define gimp_edit_named_cut _gimp_edit_named_cut
|
|
#define gimp_edit_named_copy _gimp_edit_named_copy
|
|
#define gimp_edit_named_copy_visible _gimp_edit_named_copy_visible
|
|
#define gimp_edit_named_paste _gimp_edit_named_paste
|
|
#define gimp_edit_named_paste_as_new_image _gimp_edit_named_paste_as_new_image
|
|
|
|
|
|
#endif /* GIMP_DEPRECATED_REPLACE_NEW_API */
|
|
|
|
/* Below API are deprecated and should not be used by new plug-ins.
|
|
* They are not marked internal as a trick to keep the old API alive for now.
|
|
*/
|
|
|
|
gboolean _gimp_edit_cut (gint32 drawable_ID);
|
|
gboolean _gimp_edit_copy (gint32 drawable_ID);
|
|
gboolean _gimp_edit_copy_visible (gint32 image_ID);
|
|
gint32 _gimp_edit_paste (gint32 drawable_ID,
|
|
gboolean paste_into);
|
|
gint32 _gimp_edit_paste_as_new_image (void);
|
|
gchar* _gimp_edit_named_cut (gint32 drawable_ID,
|
|
const gchar *buffer_name);
|
|
gchar* _gimp_edit_named_copy (gint32 drawable_ID,
|
|
const gchar *buffer_name);
|
|
gchar* _gimp_edit_named_copy_visible (gint32 image_ID,
|
|
const gchar *buffer_name);
|
|
gint32 _gimp_edit_named_paste (gint32 drawable_ID,
|
|
const gchar *buffer_name,
|
|
gboolean paste_into);
|
|
gint32 _gimp_edit_named_paste_as_new_image (const gchar *buffer_name);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GIMP_EDIT_PDB_H__ */
|