and in an attack of madness, changes almost all file plug-in code to use GFile instead of filenames, which means passing the GFile down to the bottom and get its filename at the very end where it's actually needed.
55 lines
2.0 KiB
C
55 lines
2.0 KiB
C
/* LIBGIMP - The GIMP Library
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
|
*
|
|
* gimpfile_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_FILE_PDB_H__
|
|
#define __GIMP_FILE_PDB_H__
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
GimpImage* gimp_file_load (GimpRunMode run_mode,
|
|
GFile *file);
|
|
GimpLayer* gimp_file_load_layer (GimpRunMode run_mode,
|
|
GimpImage *image,
|
|
GFile *file);
|
|
GimpLayer** gimp_file_load_layers (GimpRunMode run_mode,
|
|
GimpImage *image,
|
|
GFile *file,
|
|
gint *num_layers);
|
|
gboolean gimp_file_save (GimpRunMode run_mode,
|
|
GimpImage *image,
|
|
GimpDrawable *drawable,
|
|
GFile *file);
|
|
gboolean gimp_file_save_thumbnail (GimpImage *image,
|
|
GFile *file);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GIMP_FILE_PDB_H__ */
|