Imported Upstream version 2.3.11

This commit is contained in:
Ari Pollak
2010-08-11 01:20:03 -04:00
parent efbc58ed09
commit 79785b4adf
1382 changed files with 88625 additions and 63323 deletions

View File

@ -3,12 +3,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpthumb-utils</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="index.html" title="GIMP Thumbnail Library Reference Manual">
<link rel="up" href="libgimpthumb.html" title="Part&#160;I.&#160;GIMP Thumbnail Library">
<link rel="prev" href="GimpThumbnail.html" title="GimpThumbnail">
<link rel="next" href="libgimpthumb-gimpthumb-enums.html" title="gimpthumb-enums">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part&#160;I.&#160;GIMP Thumbnail Library">
<link rel="index" href="ix01.html" title="Index">
@ -25,21 +25,23 @@
<th width="100%" align="center">GIMP Thumbnail Library Reference Manual</th>
<td><a accesskey="n" href="libgimpthumb-gimpthumb-enums.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2580875" class="shortcut">Top</a>
&#160;|&#160;
<a href="#desc" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2581118" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpthumb-gimpthumb-utils"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="top_of_page"></a>gimpthumb-utils</span></h2>
<h2>
<a name="id2580875"></a><span class="refentrytitle">gimpthumb-utils</span>
</h2>
<p>gimpthumb-utils &#8212; Utility functions provided and used by libgimpthumb</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="synopsis"></a><h2>Synopsis</h2>
<h2>Synopsis</h2>
<pre class="synopsis">
@ -71,17 +73,17 @@ void <a href="libgimpthumb-gimpthumb-utils.html#gimp-thumbs-delete-for-ur
</pre>
</div>
<div class="refsect1" lang="en">
<a name="desc"></a><h2>Description</h2>
<a name="id2581118"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="details"></a><h2>Details</h2>
<a name="id2581134"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2542897"></a><h3>
<a name="id2581144"></a><h3>
<a name="gimp-thumb-init"></a>gimp_thumb_init ()</h3>
<a class="indexterm" name="id2542909"></a><pre class="programlisting">gboolean gimp_thumb_init (const gchar *creator,
<a class="indexterm" name="id2581157"></a><pre class="programlisting">gboolean gimp_thumb_init (const gchar *creator,
const gchar *thumb_basedir);</pre>
<p>
This function initializes the thumbnail system. It must be called
@ -131,9 +133,9 @@ directory here.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2533180"></a><h3>
<a name="id2577160"></a><h3>
<a name="gimp-thumb-find-thumb"></a>gimp_thumb_find_thumb ()</h3>
<a class="indexterm" name="id2533191"></a><pre class="programlisting">gchar* gimp_thumb_find_thumb (const gchar *uri,
<a class="indexterm" name="id2577172"></a><pre class="programlisting">gchar* gimp_thumb_find_thumb (const gchar *uri,
<a href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize">GimpThumbSize</a> *size);</pre>
<p>
This function attempts to locate a thumbnail for the given
@ -180,9 +182,9 @@ pointer to by <em class="parameter"><code>size</code></em> and the file location
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2523685"></a><h3>
<a name="id2566723"></a><h3>
<a name="gimp-thumb-file-test"></a>gimp_thumb_file_test ()</h3>
<a class="indexterm" name="id2523697"></a><pre class="programlisting"><a href="libgimpthumb-gimpthumb-enums.html#GimpThumbFileType">GimpThumbFileType</a> gimp_thumb_file_test (const gchar *filename,
<a class="indexterm" name="id2566734"></a><pre class="programlisting"><a href="libgimpthumb-gimpthumb-enums.html#GimpThumbFileType">GimpThumbFileType</a> gimp_thumb_file_test (const gchar *filename,
gint64 *mtime,
gint64 *size,
gint *err_no);</pre>
@ -232,9 +234,9 @@ and file size in 64bit integer values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2523843"></a><h3>
<a name="id2566880"></a><h3>
<a name="gimp-thumb-name-from-uri"></a>gimp_thumb_name_from_uri ()</h3>
<a class="indexterm" name="id2523855"></a><pre class="programlisting">gchar* gimp_thumb_name_from_uri (const gchar *uri,
<a class="indexterm" name="id2566891"></a><pre class="programlisting">gchar* gimp_thumb_name_from_uri (const gchar *uri,
<a href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize">GimpThumbSize</a> size);</pre>
<p>
Creates the name of the thumbnail file of the specified <em class="parameter"><code>size</code></em> that
@ -270,9 +272,9 @@ belongs to an image file located at the given <em class="parameter"><code>uri</c
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2523358"></a><h3>
<a name="id2560900"></a><h3>
<a name="gimp-thumb-ensure-thumb-dir"></a>gimp_thumb_ensure_thumb_dir ()</h3>
<a class="indexterm" name="id2523370"></a><pre class="programlisting">gboolean gimp_thumb_ensure_thumb_dir (<a href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize">GimpThumbSize</a> size,
<a class="indexterm" name="id2560912"></a><pre class="programlisting">gboolean gimp_thumb_ensure_thumb_dir (<a href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize">GimpThumbSize</a> size,
GError **error);</pre>
<p>
This function checks if the directory that is required to store
@ -313,9 +315,9 @@ do this for you.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2523499"></a><h3>
<a name="id2561043"></a><h3>
<a name="gimp-thumb-get-thumb-dir"></a>gimp_thumb_get_thumb_dir ()</h3>
<a class="indexterm" name="id2523511"></a><pre class="programlisting">const gchar* gimp_thumb_get_thumb_dir (<a href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize">GimpThumbSize</a> size);</pre>
<a class="indexterm" name="id2561054"></a><pre class="programlisting">const gchar* gimp_thumb_get_thumb_dir (<a href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize">GimpThumbSize</a> size);</pre>
<p>
Retrieve the name of the thumbnail folder for a specific size. The
returned pointer will become invalid if <a href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-init"><code class="function">gimp_thumb_init()</code></a> is used
@ -343,9 +345,9 @@ again. It must not be changed or freed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2523585"></a><h3>
<a name="id2561128"></a><h3>
<a name="gimp-thumbs-delete-for-uri"></a>gimp_thumbs_delete_for_uri ()</h3>
<a class="indexterm" name="id2523599"></a><pre class="programlisting">void gimp_thumbs_delete_for_uri (const gchar *uri);</pre>
<a class="indexterm" name="id2561143"></a><pre class="programlisting">void gimp_thumbs_delete_for_uri (const gchar *uri);</pre>
<p>
Deletes all thumbnails for the image file specified by <em class="parameter"><code>uri</code></em> from the
user's thumbnail repository.</p>
@ -366,9 +368,9 @@ user's thumbnail repository.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563249"></a><h3>
<a name="id2601471"></a><h3>
<a name="gimp-thumb-name-from-uri-local"></a>gimp_thumb_name_from_uri_local ()</h3>
<a class="indexterm" name="id2563262"></a><pre class="programlisting">gchar* gimp_thumb_name_from_uri_local (const gchar *uri,
<a class="indexterm" name="id2601485"></a><pre class="programlisting">gchar* gimp_thumb_name_from_uri_local (const gchar *uri,
<a href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize">GimpThumbSize</a> size);</pre>
<p>
Creates the name of a local thumbnail file of the specified <em class="parameter"><code>size</code></em>
@ -408,9 +410,9 @@ thumbnails have been introduced with version 0.7 of the spec.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563377"></a><h3>
<a name="id2601599"></a><h3>
<a name="gimp-thumb-ensure-thumb-dir-local"></a>gimp_thumb_ensure_thumb_dir_local ()</h3>
<a class="indexterm" name="id2563393"></a><pre class="programlisting">gboolean gimp_thumb_ensure_thumb_dir_local
<a class="indexterm" name="id2601616"></a><pre class="programlisting">gboolean gimp_thumb_ensure_thumb_dir_local
(const gchar *dirname,
<a href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize">GimpThumbSize</a> size,
GError **error);</pre>
@ -461,9 +463,9 @@ You shouldn't have to call this function directly since
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563543"></a><h3>
<a name="id2601766"></a><h3>
<a name="gimp-thumb-get-thumb-dir-local"></a>gimp_thumb_get_thumb_dir_local ()</h3>
<a class="indexterm" name="id2563559"></a><pre class="programlisting">gchar* gimp_thumb_get_thumb_dir_local (const gchar *dirname,
<a class="indexterm" name="id2601781"></a><pre class="programlisting">gchar* gimp_thumb_get_thumb_dir_local (const gchar *dirname,
<a href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize">GimpThumbSize</a> size);</pre>
<p>
Retrieve the name of the local thumbnail folder for a specific
@ -501,9 +503,9 @@ constant and should be free'd when it is not any longer needed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563658"></a><h3>
<a name="id2601881"></a><h3>
<a name="gimp-thumbs-delete-for-uri-local"></a>gimp_thumbs_delete_for_uri_local ()</h3>
<a class="indexterm" name="id2563674"></a><pre class="programlisting">void gimp_thumbs_delete_for_uri_local
<a class="indexterm" name="id2601896"></a><pre class="programlisting">void gimp_thumbs_delete_for_uri_local
(const gchar *uri);</pre>
<p>
Deletes all thumbnails for the image file specified by <em class="parameter"><code>uri</code></em> from