~ubuntu-branches/ubuntu/natty/libchamplain/natty

« back to all changes in this revision

Viewing changes to docs/reference/html/ChamplainCache.html

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons, Laurent Bigonville, Sjoerd Simons
  • Date: 2009-09-15 00:01:41 UTC
  • mfrom: (1.1.3 upstream) (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090915000141-i8fg5n1t02zxo79m
Tags: 0.4.0-1
[ Laurent Bigonville ]
* debian/control: Add libchamplain-0.3-dev dependency to
  libchamplain-gtk-0.3-dev

[ Sjoerd Simons ]
* New upstream release (0.4.0)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>ChamplainCache</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
7
<link rel="home" href="index.html" title="libchamplain Reference Manual">
8
8
<link rel="up" href="ch02.html" title="II. Map Source API Reference">
9
9
<link rel="prev" href="ChamplainTile.html" title="ChamplainTile">
55
55
<pre class="synopsis">
56
56
                    <a class="link" href="ChamplainCache.html#ChamplainCache-struct" title="ChamplainCache">ChamplainCache</a>;
57
57
                    <a class="link" href="ChamplainCache.html#ChamplainCacheClass" title="ChamplainCacheClass">ChamplainCacheClass</a>;
 
58
<a class="link" href="ChamplainCache.html" title="ChamplainCache">ChamplainCache</a>*     <a class="link" href="ChamplainCache.html#champlain-cache-dup-default" title="champlain_cache_dup_default ()">champlain_cache_dup_default</a>         (void);
58
59
<a
59
60
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
60
61
>gboolean</a>            <a class="link" href="ChamplainCache.html#champlain-cache-fill-tile" title="champlain_cache_fill_tile ()">champlain_cache_fill_tile</a>           (<a class="link" href="ChamplainCache.html" title="ChamplainCache">ChamplainCache</a> *self,
61
62
                                                         <a class="link" href="ChamplainTile.html" title="ChamplainTile">ChamplainTile</a> *tile);
62
 
<a class="link" href="ChamplainCache.html" title="ChamplainCache">ChamplainCache</a>*     <a class="link" href="ChamplainCache.html#champlain-cache-dup-default" title="champlain_cache_dup_default ()">champlain_cache_dup_default</a>         (void);
63
63
<a
64
64
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
65
65
>guint</a>               <a class="link" href="ChamplainCache.html#champlain-cache-get-size-limit" title="champlain_cache_get_size_limit ()">champlain_cache_get_size_limit</a>      (<a class="link" href="ChamplainCache.html" title="ChamplainCache">ChamplainCache</a> *self);
133
133
</p>
134
134
</div>
135
135
<hr>
136
 
<div class="refsect2" title="champlain_cache_fill_tile ()">
137
 
<a name="champlain-cache-fill-tile"></a><h3>champlain_cache_fill_tile ()</h3>
138
 
<pre class="programlisting"><a
139
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
140
 
>gboolean</a>            champlain_cache_fill_tile           (<a class="link" href="ChamplainCache.html" title="ChamplainCache">ChamplainCache</a> *self,
141
 
                                                         <a class="link" href="ChamplainTile.html" title="ChamplainTile">ChamplainTile</a> *tile);</pre>
142
 
<p>
143
 
Loads data from disk for the given tile</p>
144
 
<p>
145
 
</p>
146
 
<div class="variablelist"><table border="0">
147
 
<col align="left" valign="top">
148
 
<tbody>
149
 
<tr>
150
 
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
151
 
<td> the <a class="link" href="ChamplainCache.html" title="ChamplainCache"><span class="type">ChamplainCache</span></a>
152
 
</td>
153
 
</tr>
154
 
<tr>
155
 
<td><p><span class="term"><em class="parameter"><code>tile</code></em> :</span></p></td>
156
 
<td> the <a class="link" href="ChamplainTile.html" title="ChamplainTile"><span class="type">ChamplainTile</span></a> to fill
157
 
</td>
158
 
</tr>
159
 
<tr>
160
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
161
 
<td>TRUE if the tile was in cache, false if it needs to be
162
 
loaded from network
163
 
 
164
 
</td>
165
 
</tr>
166
 
</tbody>
167
 
</table></div>
168
 
<p class="since">Since 0.4</p>
169
 
</div>
170
 
<hr>
171
136
<div class="refsect2" title="champlain_cache_dup_default ()">
172
137
<a name="champlain-cache-dup-default"></a><h3>champlain_cache_dup_default ()</h3>
173
138
<pre class="programlisting"><a class="link" href="ChamplainCache.html" title="ChamplainCache">ChamplainCache</a>*     champlain_cache_dup_default         (void);</pre>
179
144
<col align="left" valign="top">
180
145
<tbody><tr>
181
146
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
182
 
<td>the <a class="link" href="ChamplainCache.html" title="ChamplainCache"><span class="type">ChamplainCache</span></a> singleton, use <a
 
147
<td> the <a class="link" href="ChamplainCache.html" title="ChamplainCache"><span class="type">ChamplainCache</span></a> singleton, use <a
183
148
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"
184
149
><span class="type">g_object_unref</span></a> when not neeeded
185
150
anymore.
191
156
<p class="since">Since 0.4</p>
192
157
</div>
193
158
<hr>
 
159
<div class="refsect2" title="champlain_cache_fill_tile ()">
 
160
<a name="champlain-cache-fill-tile"></a><h3>champlain_cache_fill_tile ()</h3>
 
161
<pre class="programlisting"><a
 
162
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
163
>gboolean</a>            champlain_cache_fill_tile           (<a class="link" href="ChamplainCache.html" title="ChamplainCache">ChamplainCache</a> *self,
 
164
                                                         <a class="link" href="ChamplainTile.html" title="ChamplainTile">ChamplainTile</a> *tile);</pre>
 
165
<p>
 
166
Loads data from disk for the given tile</p>
 
167
<p>
 
168
</p>
 
169
<div class="variablelist"><table border="0">
 
170
<col align="left" valign="top">
 
171
<tbody>
 
172
<tr>
 
173
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
 
174
<td> the <a class="link" href="ChamplainCache.html" title="ChamplainCache"><span class="type">ChamplainCache</span></a>
 
175
</td>
 
176
</tr>
 
177
<tr>
 
178
<td><p><span class="term"><em class="parameter"><code>tile</code></em> :</span></p></td>
 
179
<td> the <a class="link" href="ChamplainTile.html" title="ChamplainTile"><span class="type">ChamplainTile</span></a> to fill
 
180
</td>
 
181
</tr>
 
182
<tr>
 
183
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
184
<td> TRUE if the tile was in cache, false if it needs to be
 
185
loaded from network
 
186
 
 
187
</td>
 
188
</tr>
 
189
</tbody>
 
190
</table></div>
 
191
<p class="since">Since 0.4</p>
 
192
</div>
 
193
<hr>
194
194
<div class="refsect2" title="champlain_cache_get_size_limit ()">
195
195
<a name="champlain-cache-get-size-limit"></a><h3>champlain_cache_get_size_limit ()</h3>
196
196
<pre class="programlisting"><a
210
210
</tr>
211
211
<tr>
212
212
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
213
 
<td>the cache size limit in bytes
 
213
<td> the cache size limit in bytes
214
214
 
215
215
</td>
216
216
</tr>
309
309
</tr>
310
310
<tr>
311
311
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
312
 
<td>TRUE if the tile should be
313
 
reloaded from network
 
312
<td> TRUE if the tile should be reloaded from network, FALSE otherwize.
314
313
 
315
314
</td>
316
315
</tr>