2006-12-09 21:33:38 +00:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
1999-12-14 19:38:39 +00:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2004-09-22 15:12:24 +00:00
|
|
|
* file-open.h
|
|
|
|
*
|
1999-12-14 19:38:39 +00:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (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
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
2000-12-16 21:37:03 +00:00
|
|
|
|
2001-03-30 13:31:41 +00:00
|
|
|
#ifndef __FILE_OPEN_H__
|
|
|
|
#define __FILE_OPEN_H__
|
1999-12-14 19:38:39 +00:00
|
|
|
|
|
|
|
|
2006-04-05 08:38:33 +00:00
|
|
|
GimpImage * file_open_image (Gimp *gimp,
|
|
|
|
GimpContext *context,
|
|
|
|
GimpProgress *progress,
|
|
|
|
const gchar *uri,
|
|
|
|
const gchar *entered_filename,
|
2007-04-17 15:54:01 +00:00
|
|
|
gboolean as_new,
|
2006-04-05 08:38:33 +00:00
|
|
|
GimpPlugInProcedure *file_proc,
|
|
|
|
GimpRunMode run_mode,
|
|
|
|
GimpPDBStatusType *status,
|
|
|
|
const gchar **mime_type,
|
|
|
|
GError **error);
|
2001-11-10 19:35:21 +00:00
|
|
|
|
2006-04-05 08:38:33 +00:00
|
|
|
GimpImage * file_open_thumbnail (Gimp *gimp,
|
|
|
|
GimpContext *context,
|
|
|
|
GimpProgress *progress,
|
|
|
|
const gchar *uri,
|
|
|
|
gint size,
|
|
|
|
const gchar **mime_type,
|
|
|
|
gint *image_width,
|
2007-12-02 18:05:54 +00:00
|
|
|
gint *image_height,
|
|
|
|
GError **error);
|
2006-04-05 08:38:33 +00:00
|
|
|
GimpImage * file_open_with_display (Gimp *gimp,
|
|
|
|
GimpContext *context,
|
|
|
|
GimpProgress *progress,
|
|
|
|
const gchar *uri,
|
2007-04-17 15:54:01 +00:00
|
|
|
gboolean as_new,
|
2006-04-05 08:38:33 +00:00
|
|
|
GimpPDBStatusType *status,
|
|
|
|
GError **error);
|
2001-11-10 19:35:21 +00:00
|
|
|
|
2006-04-05 08:38:33 +00:00
|
|
|
GimpImage * file_open_with_proc_and_display (Gimp *gimp,
|
|
|
|
GimpContext *context,
|
|
|
|
GimpProgress *progress,
|
|
|
|
const gchar *uri,
|
|
|
|
const gchar *entered_filename,
|
2007-04-17 15:54:01 +00:00
|
|
|
gboolean as_new,
|
2006-04-05 08:38:33 +00:00
|
|
|
GimpPlugInProcedure *file_proc,
|
|
|
|
GimpPDBStatusType *status,
|
|
|
|
GError **error);
|
2001-11-10 19:35:21 +00:00
|
|
|
|
2006-11-03 17:12:27 +00:00
|
|
|
GList * file_open_layers (Gimp *gimp,
|
2006-04-05 08:38:33 +00:00
|
|
|
GimpContext *context,
|
|
|
|
GimpProgress *progress,
|
|
|
|
GimpImage *dest_image,
|
2006-11-03 17:12:27 +00:00
|
|
|
gboolean merge_visible,
|
2006-04-05 08:38:33 +00:00
|
|
|
const gchar *uri,
|
|
|
|
GimpRunMode run_mode,
|
|
|
|
GimpPlugInProcedure *file_proc,
|
|
|
|
GimpPDBStatusType *status,
|
|
|
|
GError **error);
|
2004-06-28 21:42:19 +00:00
|
|
|
|
2007-03-27 19:40:31 +00:00
|
|
|
gboolean file_open_from_command_line (Gimp *gimp,
|
2007-04-17 15:54:01 +00:00
|
|
|
const gchar *filename,
|
|
|
|
gboolean as_new);
|
2007-01-22 21:39:57 +00:00
|
|
|
|
2001-03-30 13:31:41 +00:00
|
|
|
|
|
|
|
#endif /* __FILE_OPEN_H__ */
|