1
/* LIBGIMP - The GIMP Library
2
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
4
* Thumbnail handling according to the Thumbnail Managing Standard.
5
* http://triq.net/~pearl/thumbnail-spec/
7
* Copyright (C) 2001-2003 Sven Neumann <sven@gimp.org>
8
* Michael Natterer <mitch@gimp.org>
10
* This library is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU Lesser General Public
12
* License as published by the Free Software Foundation; either
13
* version 2 of the License, or (at your option) any later version.
15
* This library is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* Lesser General Public License for more details.
20
* You should have received a copy of the GNU Lesser General Public
21
* License along with this library; if not, write to the
22
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23
* Boston, MA 02111-1307, USA.
26
#ifndef __GIMP_THUMB_UTILS_H__
27
#define __GIMP_THUMB_UTILS_H__
32
gboolean gimp_thumb_init (const gchar *creator,
33
const gchar *thumb_basedir);
35
gchar * gimp_thumb_find_thumb (const gchar *uri,
38
GimpThumbFileType gimp_thumb_file_test (const gchar *filename,
43
gchar * gimp_thumb_name_from_uri (const gchar *uri,
45
const gchar * gimp_thumb_get_thumb_dir (GimpThumbSize size);
46
gboolean gimp_thumb_ensure_thumb_dir (GimpThumbSize size,
48
void gimp_thumbs_delete_for_uri (const gchar *uri);
50
gchar * gimp_thumb_name_from_uri_local (const gchar *uri,
52
gchar * gimp_thumb_get_thumb_dir_local (const gchar *dirname,
54
gboolean gimp_thumb_ensure_thumb_dir_local (const gchar *dirname,
57
void gimp_thumbs_delete_for_uri_local (const gchar *uri);
60
/* for internal use only */
61
void _gimp_thumbs_delete_others (const gchar *uri,
63
gchar * _gimp_thumb_filename_from_uri (const gchar *uri);
68
#endif /* __GIMP_THUMB_UTILS_H__ */