2006-12-09 21:33:38 +00:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
2001-03-30 13:31:41 +00:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2004-09-22 15:12:24 +00:00
|
|
|
* file-utils.h
|
|
|
|
*
|
2009-01-17 22:28:01 +00:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
2001-03-30 13:31:41 +00:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-17 22:28:01 +00:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2001-03-30 13:31:41 +00: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 23:27:07 +02:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2001-03-30 13:31:41 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __FILE_UTILS_H__
|
|
|
|
#define __FILE_UTILS_H__
|
|
|
|
|
|
|
|
|
2014-07-08 10:25:25 +02:00
|
|
|
GFile * file_utils_filename_to_file (Gimp *gimp,
|
2014-07-08 10:14:53 +02:00
|
|
|
const gchar *filename,
|
|
|
|
GError **error);
|
2014-07-08 02:58:59 +02:00
|
|
|
|
2019-09-11 21:48:34 +02:00
|
|
|
GdkPixbuf * file_utils_load_thumbnail (GFile *file);
|
2014-07-08 10:14:53 +02:00
|
|
|
gboolean file_utils_save_thumbnail (GimpImage *image,
|
2019-09-11 21:48:34 +02:00
|
|
|
GFile *file);
|
2006-04-10 12:59:17 +00:00
|
|
|
|
2001-03-30 13:31:41 +00:00
|
|
|
|
|
|
|
#endif /* __FILE_UTILS_H__ */
|