2006-12-09 13:33:38 -08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
1999-12-14 11:38:39 -08:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
|
*
|
2004-09-22 08:12:24 -07:00
|
|
|
* file-open.h
|
|
|
|
|
*
|
2009-01-17 14:28:01 -08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
1999-12-14 11:38:39 -08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-17 14:28:01 -08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
1999-12-14 11:38:39 -08:00
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program 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 General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2018-07-11 14:47:19 -07:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
1999-12-14 11:38:39 -08:00
|
|
|
*/
|
2000-12-16 13:37:03 -08:00
|
|
|
|
2001-03-30 05:31:41 -08:00
|
|
|
#ifndef __FILE_OPEN_H__
|
|
|
|
|
#define __FILE_OPEN_H__
|
1999-12-14 11:38:39 -08:00
|
|
|
|
|
|
|
|
|
2006-04-05 01:38:33 -07:00
|
|
|
GimpImage * file_open_image (Gimp *gimp,
|
|
|
|
|
GimpContext *context,
|
|
|
|
|
GimpProgress *progress,
|
2014-07-06 15:46:25 -07:00
|
|
|
GFile *file,
|
|
|
|
|
GFile *entered_file,
|
2007-04-17 08:54:01 -07:00
|
|
|
gboolean as_new,
|
2006-04-05 01:38:33 -07:00
|
|
|
GimpPlugInProcedure *file_proc,
|
|
|
|
|
GimpRunMode run_mode,
|
|
|
|
|
GimpPDBStatusType *status,
|
|
|
|
|
const gchar **mime_type,
|
|
|
|
|
GError **error);
|
2001-11-10 11:35:21 -08:00
|
|
|
|
2006-04-05 01:38:33 -07:00
|
|
|
GimpImage * file_open_thumbnail (Gimp *gimp,
|
|
|
|
|
GimpContext *context,
|
|
|
|
|
GimpProgress *progress,
|
2014-07-06 15:46:25 -07:00
|
|
|
GFile *file,
|
2006-04-05 01:38:33 -07:00
|
|
|
gint size,
|
|
|
|
|
const gchar **mime_type,
|
|
|
|
|
gint *image_width,
|
2007-12-02 10:05:54 -08:00
|
|
|
gint *image_height,
|
2012-04-11 12:54:23 -07:00
|
|
|
const Babl **format,
|
2008-11-10 00:21:36 -08:00
|
|
|
gint *num_layers,
|
2007-12-02 10:05:54 -08:00
|
|
|
GError **error);
|
2006-04-05 01:38:33 -07:00
|
|
|
GimpImage * file_open_with_display (Gimp *gimp,
|
|
|
|
|
GimpContext *context,
|
|
|
|
|
GimpProgress *progress,
|
2014-07-06 15:46:25 -07:00
|
|
|
GFile *file,
|
2007-04-17 08:54:01 -07:00
|
|
|
gboolean as_new,
|
2014-05-02 11:20:46 -07:00
|
|
|
GObject *screen,
|
|
|
|
|
gint monitor,
|
2006-04-05 01:38:33 -07:00
|
|
|
GimpPDBStatusType *status,
|
|
|
|
|
GError **error);
|
2001-11-10 11:35:21 -08:00
|
|
|
|
2006-04-05 01:38:33 -07:00
|
|
|
GimpImage * file_open_with_proc_and_display (Gimp *gimp,
|
|
|
|
|
GimpContext *context,
|
|
|
|
|
GimpProgress *progress,
|
2014-07-06 15:46:25 -07:00
|
|
|
GFile *file,
|
|
|
|
|
GFile *entered_file,
|
2007-04-17 08:54:01 -07:00
|
|
|
gboolean as_new,
|
2006-04-05 01:38:33 -07:00
|
|
|
GimpPlugInProcedure *file_proc,
|
2014-05-02 11:20:46 -07:00
|
|
|
GObject *screen,
|
|
|
|
|
gint monitor,
|
2006-04-05 01:38:33 -07:00
|
|
|
GimpPDBStatusType *status,
|
|
|
|
|
GError **error);
|
2001-11-10 11:35:21 -08:00
|
|
|
|
2006-11-03 09:12:27 -08:00
|
|
|
GList * file_open_layers (Gimp *gimp,
|
2006-04-05 01:38:33 -07:00
|
|
|
GimpContext *context,
|
|
|
|
|
GimpProgress *progress,
|
|
|
|
|
GimpImage *dest_image,
|
2006-11-03 09:12:27 -08:00
|
|
|
gboolean merge_visible,
|
2014-07-06 15:46:25 -07:00
|
|
|
GFile *file,
|
2006-04-05 01:38:33 -07:00
|
|
|
GimpRunMode run_mode,
|
|
|
|
|
GimpPlugInProcedure *file_proc,
|
|
|
|
|
GimpPDBStatusType *status,
|
|
|
|
|
GError **error);
|
2004-06-28 14:42:19 -07:00
|
|
|
|
2007-03-27 12:40:31 -07:00
|
|
|
gboolean file_open_from_command_line (Gimp *gimp,
|
2014-07-06 16:02:54 -07:00
|
|
|
GFile *file,
|
2014-05-02 11:20:46 -07:00
|
|
|
gboolean as_new,
|
|
|
|
|
GObject *screen,
|
|
|
|
|
gint monitor);
|
2007-01-22 13:39:57 -08:00
|
|
|
|
2001-03-30 05:31:41 -08:00
|
|
|
|
|
|
|
|
#endif /* __FILE_OPEN_H__ */
|