diff options
author | Perberos <[email protected]> | 2011-12-01 21:42:39 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 21:42:39 -0300 |
commit | fe8aea1c3b5348347633da18a02b0bffd3b266a1 (patch) | |
tree | 9881bf77df7572844707cc7c50bd8ca6b5a97076 /doc/html | |
download | libmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.bz2 libmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.xz |
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'doc/html')
-rw-r--r-- | doc/html/MateWeatherLocationEntry.html | 226 | ||||
-rw-r--r-- | doc/html/MateWeatherTimezoneMenu.html | 184 | ||||
-rw-r--r-- | doc/html/ch01.html | 56 | ||||
-rw-r--r-- | doc/html/home.png | bin | 0 -> 654 bytes | |||
-rw-r--r-- | doc/html/index.html | 59 | ||||
-rw-r--r-- | doc/html/index.sgml | 180 | ||||
-rw-r--r-- | doc/html/left.png | bin | 0 -> 459 bytes | |||
-rw-r--r-- | doc/html/libmateweather-mateweather-location.html | 620 | ||||
-rw-r--r-- | doc/html/libmateweather-mateweather-mateconf.html | 405 | ||||
-rw-r--r-- | doc/html/libmateweather-mateweather-prefs.html | 396 | ||||
-rw-r--r-- | doc/html/libmateweather-mateweather-timezone.html | 231 | ||||
-rw-r--r-- | doc/html/libmateweather-mateweather-xml.html | 70 | ||||
-rw-r--r-- | doc/html/libmateweather-weather.html | 1639 | ||||
-rw-r--r-- | doc/html/libmateweather.devhelp | 151 | ||||
-rw-r--r-- | doc/html/libmateweather.devhelp2 | 158 | ||||
-rw-r--r-- | doc/html/right.png | bin | 0 -> 472 bytes | |||
-rw-r--r-- | doc/html/style.css | 257 | ||||
-rw-r--r-- | doc/html/up.png | bin | 0 -> 406 bytes |
18 files changed, 4632 insertions, 0 deletions
diff --git a/doc/html/MateWeatherLocationEntry.html b/doc/html/MateWeatherLocationEntry.html new file mode 100644 index 0000000..60c6c40 --- /dev/null +++ b/doc/html/MateWeatherLocationEntry.html @@ -0,0 +1,226 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>MateWeatherLocationEntry</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="libmateweather-mateweather-location.html" title="mateweather-location"> +<link rel="next" href="libmateweather-mateweather-timezone.html" title="mateweather-timezone"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="libmateweather-mateweather-location.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-mateweather-timezone.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#MateWeatherLocationEntry.synopsis" class="shortcut">Top</a> + | + <a href="#MateWeatherLocationEntry.description" class="shortcut">Description</a> + | + <a href="#MateWeatherLocationEntry.object-hierarchy" class="shortcut">Object Hierarchy</a> + | + <a href="#MateWeatherLocationEntry.implemented-interfaces" class="shortcut">Implemented Interfaces</a> + | + <a href="#MateWeatherLocationEntry.properties" class="shortcut">Properties</a> +</td></tr> +</table> +<div class="refentry" title="MateWeatherLocationEntry"> +<a name="MateWeatherLocationEntry"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="MateWeatherLocationEntry.top_of_page"></a>MateWeatherLocationEntry</span></h2> +<p>MateWeatherLocationEntry</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="MateWeatherLocationEntry.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="MateWeatherLocationEntry.html#MateWeatherLocationEntry-struct" title="MateWeatherLocationEntry">MateWeatherLocationEntry</a>; +<span class="returnvalue">GtkWidget</span> * <a class="link" href="MateWeatherLocationEntry.html#mateweather-location-entry-new" title="mateweather_location_entry_new ()">mateweather_location_entry_new</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *top</code></em>); +<span class="returnvalue">void</span> <a class="link" href="MateWeatherLocationEntry.html#mateweather-location-entry-set-location" title="mateweather_location_entry_set_location ()">mateweather_location_entry_set_location</a> + (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * <a class="link" href="MateWeatherLocationEntry.html#mateweather-location-entry-get-location" title="mateweather_location_entry_get_location ()">mateweather_location_entry_get_location</a> + (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="MateWeatherLocationEntry.html#mateweather-location-entry-set-city" title="mateweather_location_entry_set_city ()">mateweather_location_entry_set_city</a> (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *city_name</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *code</code></em>); +</pre> +</div> +<div class="refsect1" title="Object Hierarchy"> +<a name="MateWeatherLocationEntry.object-hierarchy"></a><h2>Object Hierarchy</h2> +<pre class="synopsis"> + GObject + +----GInitiallyUnowned + +----GtkObject + +----GtkWidget + +----GtkEntry + +----MateWeatherLocationEntry +</pre> +</div> +<div class="refsect1" title="Implemented Interfaces"> +<a name="MateWeatherLocationEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2> +<p> +MateWeatherLocationEntry implements + AtkImplementorIface, GtkBuildable, GtkEditable and GtkCellEditable.</p> +</div> +<div class="refsect1" title="Properties"> +<a name="MateWeatherLocationEntry.properties"></a><h2>Properties</h2> +<pre class="synopsis"> + "<a class="link" href="MateWeatherLocationEntry.html#MateWeatherLocationEntry--location" title='The "location" property'>location</a>" <span class="type">gpointer</span> : Read / Write + "<a class="link" href="MateWeatherLocationEntry.html#MateWeatherLocationEntry--top" title='The "top" property'>top</a>" <span class="type">gpointer</span> : Write / Construct Only +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="MateWeatherLocationEntry.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="MateWeatherLocationEntry.details"></a><h2>Details</h2> +<div class="refsect2" title="MateWeatherLocationEntry"> +<a name="MateWeatherLocationEntry-struct"></a><h3>MateWeatherLocationEntry</h3> +<pre class="programlisting">typedef struct _MateWeatherLocationEntry MateWeatherLocationEntry;</pre> +<p> +A subclass of <span class="type">GtkEntry</span> that provides autocompletion on +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a>s</p> +</div> +<hr> +<div class="refsect2" title="mateweather_location_entry_new ()"> +<a name="mateweather-location-entry-new"></a><h3>mateweather_location_entry_new ()</h3> +<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * mateweather_location_entry_new (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *top</code></em>);</pre> +<p> +Creates a new <a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a>. +</p> +<p> +<em class="parameter"><code>top</code></em> will normally be a location returned from +<a class="link" href="libmateweather-mateweather-location.html#mateweather-location-new-world" title="mateweather_location_new_world ()"><code class="function">mateweather_location_new_world()</code></a>, but you can create an entry that +only accepts a smaller set of locations if you want.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>top</code></em> :</span></p></td> +<td>the top-level location for the entry. +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> the new <a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_entry_set_location ()"> +<a name="mateweather-location-entry-set-location"></a><h3>mateweather_location_entry_set_location ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_location_entry_set_location + (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Sets <em class="parameter"><code>entry</code></em>'s location to <em class="parameter"><code>loc</code></em>, and updates the text of the +entry accordingly.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td> +<td>a <a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>allow-none. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_entry_get_location ()"> +<a name="mateweather-location-entry-get-location"></a><h3>mateweather_location_entry_get_location ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * mateweather_location_entry_get_location + (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>);</pre> +<p> +Gets the location that was set by a previous call to +<a class="link" href="MateWeatherLocationEntry.html#mateweather-location-entry-set-location" title="mateweather_location_entry_set_location ()"><code class="function">mateweather_location_entry_set_location()</code></a> or was selected by the user.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td> +<td>a <a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer full) (allow-none. <a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_entry_set_city ()"> +<a name="mateweather-location-entry-set-city"></a><h3>mateweather_location_entry_set_city ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> mateweather_location_entry_set_city (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *city_name</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *code</code></em>);</pre> +<p> +Sets <em class="parameter"><code>entry</code></em>'s location to a city with the given <em class="parameter"><code>code</code></em>, and given +<em class="parameter"><code>city_name</code></em>, if non-<a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. If there is no matching city, sets +<em class="parameter"><code>entry</code></em>'s location to <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td> +<td>a <a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>city_name</code></em> :</span></p></td> +<td> the city name, or <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td> +<td>the METAR station code +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <code class="literal">TRUE</code> if <em class="parameter"><code>entry</code></em>'s location could be set to a matching city, +<code class="literal">FALSE</code> otherwise. +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +<div class="refsect1" title="Property Details"> +<a name="MateWeatherLocationEntry.property-details"></a><h2>Property Details</h2> +<div class="refsect2" title='The "location" property'> +<a name="MateWeatherLocationEntry--location"></a><h3>The <code class="literal">"location"</code> property</h3> +<pre class="programlisting"> "location" <span class="type">gpointer</span> : Read / Write</pre> +<p>The selected MateWeatherLocation.</p> +</div> +<hr> +<div class="refsect2" title='The "top" property'> +<a name="MateWeatherLocationEntry--top"></a><h3>The <code class="literal">"top"</code> property</h3> +<pre class="programlisting"> "top" <span class="type">gpointer</span> : Write / Construct Only</pre> +<p>The MateWeatherLocation whose children will be used to fill in the entry.</p> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/MateWeatherTimezoneMenu.html b/doc/html/MateWeatherTimezoneMenu.html new file mode 100644 index 0000000..6af817d --- /dev/null +++ b/doc/html/MateWeatherTimezoneMenu.html @@ -0,0 +1,184 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>MateWeatherTimezoneMenu</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="libmateweather-mateweather-timezone.html" title="mateweather-timezone"> +<link rel="next" href="libmateweather-weather.html" title="weather"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="libmateweather-mateweather-timezone.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-weather.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#MateWeatherTimezoneMenu.synopsis" class="shortcut">Top</a> + | + <a href="#MateWeatherTimezoneMenu.description" class="shortcut">Description</a> + | + <a href="#MateWeatherTimezoneMenu.object-hierarchy" class="shortcut">Object Hierarchy</a> + | + <a href="#MateWeatherTimezoneMenu.implemented-interfaces" class="shortcut">Implemented Interfaces</a> + | + <a href="#MateWeatherTimezoneMenu.properties" class="shortcut">Properties</a> +</td></tr> +</table> +<div class="refentry" title="MateWeatherTimezoneMenu"> +<a name="MateWeatherTimezoneMenu"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="MateWeatherTimezoneMenu.top_of_page"></a>MateWeatherTimezoneMenu</span></h2> +<p>MateWeatherTimezoneMenu</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="MateWeatherTimezoneMenu.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu-struct" title="MateWeatherTimezoneMenu">MateWeatherTimezoneMenu</a>; +<span class="returnvalue">GtkWidget</span> * <a class="link" href="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-new" title="mateweather_timezone_menu_new ()">mateweather_timezone_menu_new</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *top</code></em>); +<span class="returnvalue">void</span> <a class="link" href="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-set-tzid" title="mateweather_timezone_menu_set_tzid ()">mateweather_timezone_menu_set_tzid</a> (<em class="parameter"><code><a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> *menu</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *tzid</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-get-tzid" title="mateweather_timezone_menu_get_tzid ()">mateweather_timezone_menu_get_tzid</a> (<em class="parameter"><code><a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> *menu</code></em>); +</pre> +</div> +<div class="refsect1" title="Object Hierarchy"> +<a name="MateWeatherTimezoneMenu.object-hierarchy"></a><h2>Object Hierarchy</h2> +<pre class="synopsis"> + GObject + +----GInitiallyUnowned + +----GtkObject + +----GtkWidget + +----GtkContainer + +----GtkBin + +----GtkComboBox + +----MateWeatherTimezoneMenu +</pre> +</div> +<div class="refsect1" title="Implemented Interfaces"> +<a name="MateWeatherTimezoneMenu.implemented-interfaces"></a><h2>Implemented Interfaces</h2> +<p> +MateWeatherTimezoneMenu implements + AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.</p> +</div> +<div class="refsect1" title="Properties"> +<a name="MateWeatherTimezoneMenu.properties"></a><h2>Properties</h2> +<pre class="synopsis"> + "<a class="link" href="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--top" title='The "top" property'>top</a>" <span class="type">gpointer</span> : Write / Construct Only + "<a class="link" href="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--tzid" title='The "tzid" property'>tzid</a>" <span class="type">gchar</span>* : Read / Write +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="MateWeatherTimezoneMenu.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="MateWeatherTimezoneMenu.details"></a><h2>Details</h2> +<div class="refsect2" title="MateWeatherTimezoneMenu"> +<a name="MateWeatherTimezoneMenu-struct"></a><h3>MateWeatherTimezoneMenu</h3> +<pre class="programlisting">typedef struct _MateWeatherTimezoneMenu MateWeatherTimezoneMenu;</pre> +<p> +A <span class="type">GtkComboBox</span> subclass for choosing a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a></p> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_menu_new ()"> +<a name="mateweather-timezone-menu-new"></a><h3>mateweather_timezone_menu_new ()</h3> +<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * mateweather_timezone_menu_new (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *top</code></em>);</pre> +<p> +Creates a new <a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a>. +</p> +<p> +<em class="parameter"><code>top</code></em> will normally be a location returned from +<a class="link" href="libmateweather-mateweather-location.html#mateweather-location-new-world" title="mateweather_location_new_world ()"><code class="function">mateweather_location_new_world()</code></a>, but you can create a menu that +contains the timezones from a smaller set of locations if you want.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>top</code></em> :</span></p></td> +<td>the top-level location for the menu. +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> the new <a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_menu_set_tzid ()"> +<a name="mateweather-timezone-menu-set-tzid"></a><h3>mateweather_timezone_menu_set_tzid ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_timezone_menu_set_tzid (<em class="parameter"><code><a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> *menu</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *tzid</code></em>);</pre> +<p> +Sets <em class="parameter"><code>menu</code></em> to the given <em class="parameter"><code>tzid</code></em>. If <em class="parameter"><code>tzid</code></em> is <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, sets <em class="parameter"><code>menu</code></em> to +"Unknown".</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td> +<td>a <a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>tzid</code></em> :</span></p></td> +<td> a tzdata id (eg, "America/New_York"). <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_menu_get_tzid ()"> +<a name="mateweather-timezone-menu-get-tzid"></a><h3>mateweather_timezone_menu_get_tzid ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_timezone_menu_get_tzid (<em class="parameter"><code><a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> *menu</code></em>);</pre> +<p> +Gets <em class="parameter"><code>menu</code></em>'s timezone id.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td> +<td>a <a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>allow-none. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<div class="refsect1" title="Property Details"> +<a name="MateWeatherTimezoneMenu.property-details"></a><h2>Property Details</h2> +<div class="refsect2" title='The "top" property'> +<a name="MateWeatherTimezoneMenu--top"></a><h3>The <code class="literal">"top"</code> property</h3> +<pre class="programlisting"> "top" <span class="type">gpointer</span> : Write / Construct Only</pre> +<p>The MateWeatherLocation whose children will be used to fill in the menu.</p> +</div> +<hr> +<div class="refsect2" title='The "tzid" property'> +<a name="MateWeatherTimezoneMenu--tzid"></a><h3>The <code class="literal">"tzid"</code> property</h3> +<pre class="programlisting"> "tzid" <span class="type">gchar</span>* : Read / Write</pre> +<p>The selected TZID.</p> +<p>Default value: NULL</p> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/ch01.html b/doc/html/ch01.html new file mode 100644 index 0000000..4cbae3c --- /dev/null +++ b/doc/html/ch01.html @@ -0,0 +1,56 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>[Insert title here]</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="index.html" title="libmateweather Reference Manual"> +<link rel="prev" href="index.html" title="libmateweather Reference Manual"> +<link rel="next" href="libmateweather-mateweather-location.html" title="mateweather-location"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> +<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td> </td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-mateweather-location.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr></table> +<div class="chapter" title="[Insert title here]"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="id2528725"></a>[Insert title here]</h2></div></div></div> +<div class="toc"><dl> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-location.html">mateweather-location</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="MateWeatherLocationEntry.html">MateWeatherLocationEntry</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-timezone.html">mateweather-timezone</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="MateWeatherTimezoneMenu.html">MateWeatherTimezoneMenu</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-weather.html">weather</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-xml.html">mateweather-xml</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-mateconf.html">mateweather-mateconf</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-prefs.html">mateweather-prefs</a></span><span class="refpurpose"></span> +</dt> +</dl></div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/home.png b/doc/html/home.png Binary files differnew file mode 100644 index 0000000..1700361 --- /dev/null +++ b/doc/html/home.png diff --git a/doc/html/index.html b/doc/html/index.html new file mode 100644 index 0000000..5860012 --- /dev/null +++ b/doc/html/index.html @@ -0,0 +1,59 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>libmateweather Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="next" href="ch01.html" title="[Insert title here]"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="book" title="libmateweather Reference Manual"> +<div class="titlepage"> +<div> +<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">libmateweather Reference Manual</p></th></tr></table></div> +<div><p class="releaseinfo"> + for libmateweather [VERSION] + The latest version of this documentation can be found on-line at + <a class="ulink" href="http://%5BSERVER%5D/libmateweather/index.html" target="_top">http://[SERVER]/libmateweather/</a>. + </p></div> +</div> +<hr> +</div> +<div class="toc"><dl> +<dt><span class="chapter"><a href="ch01.html">[Insert title here]</a></span></dt> +<dd><dl> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-location.html">mateweather-location</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="MateWeatherLocationEntry.html">MateWeatherLocationEntry</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-timezone.html">mateweather-timezone</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="MateWeatherTimezoneMenu.html">MateWeatherTimezoneMenu</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-weather.html">weather</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-xml.html">mateweather-xml</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-mateconf.html">mateweather-mateconf</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-prefs.html">mateweather-prefs</a></span><span class="refpurpose"></span> +</dt> +</dl></dd> +</dl></div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/index.sgml b/doc/html/index.sgml new file mode 100644 index 0000000..eb85662 --- /dev/null +++ b/doc/html/index.sgml @@ -0,0 +1,180 @@ +<ANCHOR id="libmateweather-mateweather-location" href="libmateweather/libmateweather-mateweather-location.html"> +<ANCHOR id="libmateweather-mateweather-location.synopsis" href="libmateweather/libmateweather-mateweather-location.html#libmateweather-mateweather-location.synopsis"> +<ANCHOR id="libmateweather-mateweather-location.description" href="libmateweather/libmateweather-mateweather-location.html#libmateweather-mateweather-location.description"> +<ANCHOR id="libmateweather-mateweather-location.details" href="libmateweather/libmateweather-mateweather-location.html#libmateweather-mateweather-location.details"> +<ANCHOR id="MateWeatherLocation" href="libmateweather/libmateweather-mateweather-location.html#MateWeatherLocation"> +<ANCHOR id="MateWeatherLocationLevel" href="libmateweather/libmateweather-mateweather-location.html#MateWeatherLocationLevel"> +<ANCHOR id="MATEWEATHER-LOCATION-WORLD:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WORLD:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-REGION:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-REGION:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-COUNTRY:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-COUNTRY:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-ADM1:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-ADM1:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-ADM2:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-ADM2:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-CITY:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-CITY:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-WEATHER-STATION:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"> +<ANCHOR id="mateweather-location-new-world" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-new-world"> +<ANCHOR id="mateweather-location-ref" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-ref"> +<ANCHOR id="mateweather-location-unref" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-unref"> +<ANCHOR id="mateweather-location-get-name" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-name"> +<ANCHOR id="mateweather-location-get-sort-name" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-sort-name"> +<ANCHOR id="mateweather-location-get-level" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-level"> +<ANCHOR id="mateweather-location-get-parent" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-parent"> +<ANCHOR id="mateweather-location-get-children" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-children"> +<ANCHOR id="mateweather-location-free-children" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-free-children"> +<ANCHOR id="mateweather-location-has-coords" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-has-coords"> +<ANCHOR id="mateweather-location-get-coords" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-coords"> +<ANCHOR id="mateweather-location-get-distance" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-distance"> +<ANCHOR id="mateweather-location-get-country" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-country"> +<ANCHOR id="mateweather-location-get-timezone" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-timezone"> +<ANCHOR id="mateweather-location-get-timezones" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-timezones"> +<ANCHOR id="mateweather-location-free-timezones" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-free-timezones"> +<ANCHOR id="mateweather-location-get-code" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-code"> +<ANCHOR id="mateweather-location-get-city-name" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-city-name"> +<ANCHOR id="mateweather-location-get-weather" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-weather"> +<ANCHOR id="MateWeatherLocationEntry" href="libmateweather/MateWeatherLocationEntry.html"> +<ANCHOR id="MateWeatherLocationEntry.synopsis" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.synopsis"> +<ANCHOR id="MateWeatherLocationEntry.object-hierarchy" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.object-hierarchy"> +<ANCHOR id="MateWeatherLocationEntry.implemented-interfaces" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.implemented-interfaces"> +<ANCHOR id="MateWeatherLocationEntry.properties" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.properties"> +<ANCHOR id="MateWeatherLocationEntry.description" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.description"> +<ANCHOR id="MateWeatherLocationEntry.details" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.details"> +<ANCHOR id="MateWeatherLocationEntry-struct" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry-struct"> +<ANCHOR id="mateweather-location-entry-new" href="libmateweather/MateWeatherLocationEntry.html#mateweather-location-entry-new"> +<ANCHOR id="mateweather-location-entry-set-location" href="libmateweather/MateWeatherLocationEntry.html#mateweather-location-entry-set-location"> +<ANCHOR id="mateweather-location-entry-get-location" href="libmateweather/MateWeatherLocationEntry.html#mateweather-location-entry-get-location"> +<ANCHOR id="mateweather-location-entry-set-city" href="libmateweather/MateWeatherLocationEntry.html#mateweather-location-entry-set-city"> +<ANCHOR id="MateWeatherLocationEntry.property-details" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.property-details"> +<ANCHOR id="MateWeatherLocationEntry--location" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry--location"> +<ANCHOR id="MateWeatherLocationEntry--top" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry--top"> +<ANCHOR id="libmateweather-mateweather-timezone" href="libmateweather/libmateweather-mateweather-timezone.html"> +<ANCHOR id="libmateweather-mateweather-timezone.synopsis" href="libmateweather/libmateweather-mateweather-timezone.html#libmateweather-mateweather-timezone.synopsis"> +<ANCHOR id="libmateweather-mateweather-timezone.description" href="libmateweather/libmateweather-mateweather-timezone.html#libmateweather-mateweather-timezone.description"> +<ANCHOR id="libmateweather-mateweather-timezone.details" href="libmateweather/libmateweather-mateweather-timezone.html#libmateweather-mateweather-timezone.details"> +<ANCHOR id="MateWeatherTimezone" href="libmateweather/libmateweather-mateweather-timezone.html#MateWeatherTimezone"> +<ANCHOR id="mateweather-timezone-get-name" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-get-name"> +<ANCHOR id="mateweather-timezone-get-tzid" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-get-tzid"> +<ANCHOR id="mateweather-timezone-get-offset" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-get-offset"> +<ANCHOR id="mateweather-timezone-has-dst" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-has-dst"> +<ANCHOR id="mateweather-timezone-get-dst-offset" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-get-dst-offset"> +<ANCHOR id="mateweather-timezone-ref" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-ref"> +<ANCHOR id="mateweather-timezone-unref" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-unref"> +<ANCHOR id="MateWeatherTimezoneMenu" href="libmateweather/MateWeatherTimezoneMenu.html"> +<ANCHOR id="MateWeatherTimezoneMenu.synopsis" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.synopsis"> +<ANCHOR id="MateWeatherTimezoneMenu.object-hierarchy" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.object-hierarchy"> +<ANCHOR id="MateWeatherTimezoneMenu.implemented-interfaces" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.implemented-interfaces"> +<ANCHOR id="MateWeatherTimezoneMenu.properties" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.properties"> +<ANCHOR id="MateWeatherTimezoneMenu.description" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.description"> +<ANCHOR id="MateWeatherTimezoneMenu.details" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.details"> +<ANCHOR id="MateWeatherTimezoneMenu-struct" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu-struct"> +<ANCHOR id="mateweather-timezone-menu-new" href="libmateweather/MateWeatherTimezoneMenu.html#mateweather-timezone-menu-new"> +<ANCHOR id="mateweather-timezone-menu-set-tzid" href="libmateweather/MateWeatherTimezoneMenu.html#mateweather-timezone-menu-set-tzid"> +<ANCHOR id="mateweather-timezone-menu-get-tzid" href="libmateweather/MateWeatherTimezoneMenu.html#mateweather-timezone-menu-get-tzid"> +<ANCHOR id="MateWeatherTimezoneMenu.property-details" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.property-details"> +<ANCHOR id="MateWeatherTimezoneMenu--top" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--top"> +<ANCHOR id="MateWeatherTimezoneMenu--tzid" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--tzid"> +<ANCHOR id="libmateweather-weather" href="libmateweather/libmateweather-weather.html"> +<ANCHOR id="libmateweather-weather.synopsis" href="libmateweather/libmateweather-weather.html#libmateweather-weather.synopsis"> +<ANCHOR id="libmateweather-weather.description" href="libmateweather/libmateweather-weather.html#libmateweather-weather.description"> +<ANCHOR id="libmateweather-weather.details" href="libmateweather/libmateweather-weather.html#libmateweather-weather.details"> +<ANCHOR id="WeatherLocation" href="libmateweather/libmateweather-weather.html#WeatherLocation"> +<ANCHOR id="weather-location-new" href="libmateweather/libmateweather-weather.html#weather-location-new"> +<ANCHOR id="weather-location-clone" href="libmateweather/libmateweather-weather.html#weather-location-clone"> +<ANCHOR id="weather-location-free" href="libmateweather/libmateweather-weather.html#weather-location-free"> +<ANCHOR id="weather-location-equal" href="libmateweather/libmateweather-weather.html#weather-location-equal"> +<ANCHOR id="WeatherForecastType" href="libmateweather/libmateweather-weather.html#WeatherForecastType"> +<ANCHOR id="TempUnit" href="libmateweather/libmateweather-weather.html#TempUnit"> +<ANCHOR id="SpeedUnit" href="libmateweather/libmateweather-weather.html#SpeedUnit"> +<ANCHOR id="PressureUnit" href="libmateweather/libmateweather-weather.html#PressureUnit"> +<ANCHOR id="DistanceUnit" href="libmateweather/libmateweather-weather.html#DistanceUnit"> +<ANCHOR id="WeatherPrefs" href="libmateweather/libmateweather-weather.html#WeatherPrefs"> +<ANCHOR id="WeatherInfo" href="libmateweather/libmateweather-weather.html#WeatherInfo"> +<ANCHOR id="WeatherInfoFunc" href="libmateweather/libmateweather-weather.html#WeatherInfoFunc"> +<ANCHOR id="weather-info-new" href="libmateweather/libmateweather-weather.html#weather-info-new"> +<ANCHOR id="weather-info-update" href="libmateweather/libmateweather-weather.html#weather-info-update"> +<ANCHOR id="weather-info-abort" href="libmateweather/libmateweather-weather.html#weather-info-abort"> +<ANCHOR id="weather-info-clone" href="libmateweather/libmateweather-weather.html#weather-info-clone"> +<ANCHOR id="weather-info-free" href="libmateweather/libmateweather-weather.html#weather-info-free"> +<ANCHOR id="weather-info-is-valid" href="libmateweather/libmateweather-weather.html#weather-info-is-valid"> +<ANCHOR id="weather-info-network-error" href="libmateweather/libmateweather-weather.html#weather-info-network-error"> +<ANCHOR id="weather-info-to-metric" href="libmateweather/libmateweather-weather.html#weather-info-to-metric"> +<ANCHOR id="weather-info-to-imperial" href="libmateweather/libmateweather-weather.html#weather-info-to-imperial"> +<ANCHOR id="weather-info-get-location" href="libmateweather/libmateweather-weather.html#weather-info-get-location"> +<ANCHOR id="weather-info-get-location-name" href="libmateweather/libmateweather-weather.html#weather-info-get-location-name"> +<ANCHOR id="weather-info-get-update" href="libmateweather/libmateweather-weather.html#weather-info-get-update"> +<ANCHOR id="weather-info-get-sky" href="libmateweather/libmateweather-weather.html#weather-info-get-sky"> +<ANCHOR id="weather-info-get-conditions" href="libmateweather/libmateweather-weather.html#weather-info-get-conditions"> +<ANCHOR id="weather-info-get-temp" href="libmateweather/libmateweather-weather.html#weather-info-get-temp"> +<ANCHOR id="weather-info-get-temp-min" href="libmateweather/libmateweather-weather.html#weather-info-get-temp-min"> +<ANCHOR id="weather-info-get-temp-max" href="libmateweather/libmateweather-weather.html#weather-info-get-temp-max"> +<ANCHOR id="weather-info-get-dew" href="libmateweather/libmateweather-weather.html#weather-info-get-dew"> +<ANCHOR id="weather-info-get-humidity" href="libmateweather/libmateweather-weather.html#weather-info-get-humidity"> +<ANCHOR id="weather-info-get-wind" href="libmateweather/libmateweather-weather.html#weather-info-get-wind"> +<ANCHOR id="weather-info-get-pressure" href="libmateweather/libmateweather-weather.html#weather-info-get-pressure"> +<ANCHOR id="weather-info-get-visibility" href="libmateweather/libmateweather-weather.html#weather-info-get-visibility"> +<ANCHOR id="weather-info-get-apparent" href="libmateweather/libmateweather-weather.html#weather-info-get-apparent"> +<ANCHOR id="weather-info-get-sunrise" href="libmateweather/libmateweather-weather.html#weather-info-get-sunrise"> +<ANCHOR id="weather-info-get-sunset" href="libmateweather/libmateweather-weather.html#weather-info-get-sunset"> +<ANCHOR id="weather-info-get-forecast" href="libmateweather/libmateweather-weather.html#weather-info-get-forecast"> +<ANCHOR id="weather-info-get-forecast-list" href="libmateweather/libmateweather-weather.html#weather-info-get-forecast-list"> +<ANCHOR id="weather-info-get-radar" href="libmateweather/libmateweather-weather.html#weather-info-get-radar"> +<ANCHOR id="weather-info-get-temp-summary" href="libmateweather/libmateweather-weather.html#weather-info-get-temp-summary"> +<ANCHOR id="weather-info-get-weather-summary" href="libmateweather/libmateweather-weather.html#weather-info-get-weather-summary"> +<ANCHOR id="weather-info-get-icon-name" href="libmateweather/libmateweather-weather.html#weather-info-get-icon-name"> +<ANCHOR id="weather-info-next-sun-event" href="libmateweather/libmateweather-weather.html#weather-info-next-sun-event"> +<ANCHOR id="WeatherWindDirection" href="libmateweather/libmateweather-weather.html#WeatherWindDirection"> +<ANCHOR id="WeatherSky" href="libmateweather/libmateweather-weather.html#WeatherSky"> +<ANCHOR id="WeatherConditionPhenomenon" href="libmateweather/libmateweather-weather.html#WeatherConditionPhenomenon"> +<ANCHOR id="WeatherConditionQualifier" href="libmateweather/libmateweather-weather.html#WeatherConditionQualifier"> +<ANCHOR id="weather-info-get-value-update" href="libmateweather/libmateweather-weather.html#weather-info-get-value-update"> +<ANCHOR id="weather-info-get-value-sky" href="libmateweather/libmateweather-weather.html#weather-info-get-value-sky"> +<ANCHOR id="weather-info-get-value-conditions" href="libmateweather/libmateweather-weather.html#weather-info-get-value-conditions"> +<ANCHOR id="weather-info-get-value-temp" href="libmateweather/libmateweather-weather.html#weather-info-get-value-temp"> +<ANCHOR id="weather-info-get-value-temp-min" href="libmateweather/libmateweather-weather.html#weather-info-get-value-temp-min"> +<ANCHOR id="weather-info-get-value-temp-max" href="libmateweather/libmateweather-weather.html#weather-info-get-value-temp-max"> +<ANCHOR id="weather-info-get-value-dew" href="libmateweather/libmateweather-weather.html#weather-info-get-value-dew"> +<ANCHOR id="weather-info-get-value-apparent" href="libmateweather/libmateweather-weather.html#weather-info-get-value-apparent"> +<ANCHOR id="weather-info-get-value-wind" href="libmateweather/libmateweather-weather.html#weather-info-get-value-wind"> +<ANCHOR id="weather-info-get-value-pressure" href="libmateweather/libmateweather-weather.html#weather-info-get-value-pressure"> +<ANCHOR id="weather-info-get-value-visibility" href="libmateweather/libmateweather-weather.html#weather-info-get-value-visibility"> +<ANCHOR id="weather-info-get-value-sunrise" href="libmateweather/libmateweather-weather.html#weather-info-get-value-sunrise"> +<ANCHOR id="weather-info-get-value-sunset" href="libmateweather/libmateweather-weather.html#weather-info-get-value-sunset"> +<ANCHOR id="libmateweather-mateweather-xml" href="libmateweather/libmateweather-mateweather-xml.html"> +<ANCHOR id="libmateweather-mateweather-xml.synopsis" href="libmateweather/libmateweather-mateweather-xml.html#libmateweather-mateweather-xml.synopsis"> +<ANCHOR id="libmateweather-mateweather-xml.description" href="libmateweather/libmateweather-mateweather-xml.html#libmateweather-mateweather-xml.description"> +<ANCHOR id="libmateweather-mateweather-xml.details" href="libmateweather/libmateweather-mateweather-xml.html#libmateweather-mateweather-xml.details"> +<ANCHOR id="mateweather-xml-load-locations" href="libmateweather/libmateweather-mateweather-xml.html#mateweather-xml-load-locations"> +<ANCHOR id="libmateweather-mateweather-mateconf" href="libmateweather/libmateweather-mateweather-mateconf.html"> +<ANCHOR id="libmateweather-mateweather-mateconf.synopsis" href="libmateweather/libmateweather-mateweather-mateconf.html#libmateweather-mateweather-mateconf.synopsis"> +<ANCHOR id="libmateweather-mateweather-mateconf.description" href="libmateweather/libmateweather-mateweather-mateconf.html#libmateweather-mateweather-mateconf.description"> +<ANCHOR id="libmateweather-mateweather-mateconf.details" href="libmateweather/libmateweather-mateweather-mateconf.html#libmateweather-mateweather-mateconf.details"> +<ANCHOR id="MateWeatherMateConf" href="libmateweather/libmateweather-mateweather-mateconf.html#MateWeatherMateConf"> +<ANCHOR id="mateweather-mateconf-new" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-new"> +<ANCHOR id="mateweather-mateconf-free" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-free"> +<ANCHOR id="mateweather-mateconf-get-client" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-client"> +<ANCHOR id="mateweather-mateconf-get-location" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-location"> +<ANCHOR id="mateweather-mateconf-get-full-key" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-full-key"> +<ANCHOR id="mateweather-mateconf-set-bool" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-bool"> +<ANCHOR id="mateweather-mateconf-set-int" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-int"> +<ANCHOR id="mateweather-mateconf-set-string" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-string"> +<ANCHOR id="mateweather-mateconf-get-bool" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-bool"> +<ANCHOR id="mateweather-mateconf-get-int" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-int"> +<ANCHOR id="mateweather-mateconf-get-string" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-string"> +<ANCHOR id="libmateweather-mateweather-prefs" href="libmateweather/libmateweather-mateweather-prefs.html"> +<ANCHOR id="libmateweather-mateweather-prefs.synopsis" href="libmateweather/libmateweather-mateweather-prefs.html#libmateweather-mateweather-prefs.synopsis"> +<ANCHOR id="libmateweather-mateweather-prefs.description" href="libmateweather/libmateweather-mateweather-prefs.html#libmateweather-mateweather-prefs.description"> +<ANCHOR id="libmateweather-mateweather-prefs.details" href="libmateweather/libmateweather-mateweather-prefs.html#libmateweather-mateweather-prefs.details"> +<ANCHOR id="MATECONF-TEMP-UNIT:CAPS" href="libmateweather/libmateweather-mateweather-prefs.html#MATECONF-TEMP-UNIT:CAPS"> +<ANCHOR id="MATECONF-SPEED-UNIT:CAPS" href="libmateweather/libmateweather-mateweather-prefs.html#MATECONF-SPEED-UNIT:CAPS"> +<ANCHOR id="MATECONF-PRESSURE-UNIT:CAPS" href="libmateweather/libmateweather-mateweather-prefs.html#MATECONF-PRESSURE-UNIT:CAPS"> +<ANCHOR id="MATECONF-DISTANCE-UNIT:CAPS" href="libmateweather/libmateweather-mateweather-prefs.html#MATECONF-DISTANCE-UNIT:CAPS"> +<ANCHOR id="MateWeatherPrefs" href="libmateweather/libmateweather-mateweather-prefs.html#MateWeatherPrefs"> +<ANCHOR id="mateweather-prefs-load" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-load"> +<ANCHOR id="mateweather-prefs-temp-enum-to-string" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-temp-enum-to-string"> +<ANCHOR id="mateweather-prefs-speed-enum-to-string" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-speed-enum-to-string"> +<ANCHOR id="mateweather-prefs-pressure-enum-to-string" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-pressure-enum-to-string"> +<ANCHOR id="mateweather-prefs-distance-enum-to-string" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-distance-enum-to-string"> +<ANCHOR id="mateweather-prefs-parse-temperature" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-parse-temperature"> +<ANCHOR id="mateweather-prefs-parse-speed" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-parse-speed"> +<ANCHOR id="mateweather-prefs-get-temp-display-name" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-get-temp-display-name"> +<ANCHOR id="mateweather-prefs-get-speed-display-name" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-get-speed-display-name"> +<ANCHOR id="mateweather-prefs-get-pressure-display-name" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-get-pressure-display-name"> +<ANCHOR id="mateweather-prefs-get-distance-display-name" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-get-distance-display-name"> diff --git a/doc/html/left.png b/doc/html/left.png Binary files differnew file mode 100644 index 0000000..2d05b3d --- /dev/null +++ b/doc/html/left.png diff --git a/doc/html/libmateweather-mateweather-location.html b/doc/html/libmateweather-mateweather-location.html new file mode 100644 index 0000000..a4653b9 --- /dev/null +++ b/doc/html/libmateweather-mateweather-location.html @@ -0,0 +1,620 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>mateweather-location</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="ch01.html" title="[Insert title here]"> +<link rel="next" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="MateWeatherLocationEntry.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-mateweather-location.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-mateweather-location.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="mateweather-location"> +<a name="libmateweather-mateweather-location"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-mateweather-location.top_of_page"></a>mateweather-location</span></h2> +<p>mateweather-location</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-mateweather-location.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation">MateWeatherLocation</a>; +enum <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocationLevel" title="enum MateWeatherLocationLevel">MateWeatherLocationLevel</a>; +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-new-world" title="mateweather_location_new_world ()">mateweather_location_new_world</a> (<em class="parameter"><code><span class="type">gboolean</span> use_regions</code></em>); +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-ref" title="mateweather_location_ref ()">mateweather_location_ref</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-unref" title="mateweather_location_unref ()">mateweather_location_unref</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-name" title="mateweather_location_get_name ()">mateweather_location_get_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-sort-name" title="mateweather_location_get_sort_name ()">mateweather_location_get_sort_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocationLevel" title="enum MateWeatherLocationLevel"><span class="returnvalue">MateWeatherLocationLevel</span></a> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-level" title="mateweather_location_get_level ()">mateweather_location_get_level</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-parent" title="mateweather_location_get_parent ()">mateweather_location_get_parent</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> ** <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-children" title="mateweather_location_get_children ()">mateweather_location_get_children</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-free-children" title="mateweather_location_free_children ()">mateweather_location_free_children</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> **children</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-has-coords" title="mateweather_location_has_coords ()">mateweather_location_has_coords</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-coords" title="mateweather_location_get_coords ()">mateweather_location_get_coords</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><span class="type">double</span> *latitude</code></em>, + <em class="parameter"><code><span class="type">double</span> *longitude</code></em>); +<span class="returnvalue">double</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-distance" title="mateweather_location_get_distance ()">mateweather_location_get_distance</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc2</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-country" title="mateweather_location_get_country ()">mateweather_location_get_country</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-timezone" title="mateweather_location_get_timezone ()">mateweather_location_get_timezone</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> ** <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-timezones" title="mateweather_location_get_timezones ()">mateweather_location_get_timezones</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-free-timezones" title="mateweather_location_free_timezones ()">mateweather_location_free_timezones</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> **zones</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-code" title="mateweather_location_get_code ()">mateweather_location_get_code</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-city-name" title="mateweather_location_get_city_name ()">mateweather_location_get_city_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="returnvalue">WeatherInfo</span></a> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-weather" title="mateweather_location_get_weather ()">mateweather_location_get_weather</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-mateweather-location.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-mateweather-location.details"></a><h2>Details</h2> +<div class="refsect2" title="MateWeatherLocation"> +<a name="MateWeatherLocation"></a><h3>MateWeatherLocation</h3> +<pre class="programlisting">typedef struct _MateWeatherLocation MateWeatherLocation;</pre> +<p> +A <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> represents a "location" of some type known to +libmateweather; anything from a single weather station to the entire +world. See <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocationLevel" title="enum MateWeatherLocationLevel"><span class="type">MateWeatherLocationLevel</span></a> for information about how the +hierarchy of locations works.</p> +</div> +<hr> +<div class="refsect2" title="enum MateWeatherLocationLevel"> +<a name="MateWeatherLocationLevel"></a><h3>enum MateWeatherLocationLevel</h3> +<pre class="programlisting">typedef enum { /*< underscore_name=mateweather_location_level >*/ + MATEWEATHER_LOCATION_WORLD, + MATEWEATHER_LOCATION_REGION, + MATEWEATHER_LOCATION_COUNTRY, + /* ADM1 = first-order administrative division = state/province, etc */ + MATEWEATHER_LOCATION_ADM1, + /* ADM2 = second-order division = county, etc */ + MATEWEATHER_LOCATION_ADM2, + MATEWEATHER_LOCATION_CITY, + MATEWEATHER_LOCATION_WEATHER_STATION +} MateWeatherLocationLevel; +</pre> +<p> +The size/scope of a particular <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a>. +</p> +<p> +Locations form a hierarchy, with a <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WORLD:CAPS"><code class="literal">MATEWEATHER_LOCATION_WORLD</code></a> +location at the top, divided into regions or countries, and so on. +Countries may or may not be divided into "adm1"s, and "adm1"s may +or may not be divided into "adm2"s. A city will have at least one, +and possibly several, weather stations inside it. Weather stations +will never appear outside of cities.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-WORLD:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_WORLD</code></span></p></td> +<td>A location representing the entire world. +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-REGION:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_REGION</code></span></p></td> +<td>A location representing a continent or +other top-level region. +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-COUNTRY:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_COUNTRY</code></span></p></td> +<td>A location representing a "country" (or +other geographic unit that has an ISO-3166 country code) +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-ADM1:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_ADM1</code></span></p></td> +<td>A location representing a "first-level +administrative division"; ie, a state, province, or similar +division. +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-ADM2:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_ADM2</code></span></p></td> +<td>A location representing a subdivision of a +<a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-ADM1:CAPS"><code class="literal">MATEWEATHER_LOCATION_ADM1</code></a> location. (Not currently used.) +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-CITY:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_CITY</code></span></p></td> +<td>A location representing a city +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_WEATHER_STATION</code></span></p></td> +<td>A location representing a +weather station. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_new_world ()"> +<a name="mateweather-location-new-world"></a><h3>mateweather_location_new_world ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * mateweather_location_new_world (<em class="parameter"><code><span class="type">gboolean</span> use_regions</code></em>);</pre> +<p> +Creates a new <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> of type <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WORLD:CAPS"><code class="literal">MATEWEATHER_LOCATION_WORLD</code></a>, +representing a hierarchy containing all of the locations from +Locations.xml. +</p> +<p> +If <em class="parameter"><code>use_regions</code></em> is <code class="literal">TRUE</code>, the immediate children of the returned +location will be <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-REGION:CAPS"><code class="literal">MATEWEATHER_LOCATION_REGION</code></a> nodes, representing the +top-level "regions" of Locations.xml (the continents and a few +other divisions), and the country-level nodes will be the children +of the regions. If <em class="parameter"><code>use_regions</code></em> is <code class="literal">FALSE</code>, the regions will be +skipped, and the children of the returned location will be the +<a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-COUNTRY:CAPS"><code class="literal">MATEWEATHER_LOCATION_COUNTRY</code></a> nodes.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>use_regions</code></em> :</span></p></td> +<td>whether or not to divide the world into regions +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>allow-none. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_ref ()"> +<a name="mateweather-location-ref"></a><h3>mateweather_location_ref ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * mateweather_location_ref (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Adds 1 to <em class="parameter"><code>loc</code></em>'s reference count.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>loc</code></em> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_unref ()"> +<a name="mateweather-location-unref"></a><h3>mateweather_location_unref ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_location_unref (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Subtracts 1 from <em class="parameter"><code>loc</code></em>'s reference count, and frees it if the +reference count reaches 0.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_name ()"> +<a name="mateweather-location-get-name"></a><h3>mateweather_location_get_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_location_get_name (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets <em class="parameter"><code>loc</code></em>'s name, localized into the current language. +</p> +<p> +Note that <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"><code class="literal">MATEWEATHER_LOCATION_WEATHER_STATION</code></a> nodes are not +localized, and so the name returned for those nodes will always be +in English, and should therefore not be displayed to the user. +(FIXME: should we just not return a name?)</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>loc</code></em>'s name +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_sort_name ()"> +<a name="mateweather-location-get-sort-name"></a><h3>mateweather_location_get_sort_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_location_get_sort_name (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets <em class="parameter"><code>loc</code></em>'s "sort name", which is the name after having +<code class="function">g_utf8_normalize()</code> (with <code class="literal">G_NORMALIZE_ALL</code>) and <code class="function">g_utf8_casefold()</code> +called on it. You can use this to sort locations, or to comparing +user input against a location name.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>loc</code></em>'s sort name +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_level ()"> +<a name="mateweather-location-get-level"></a><h3>mateweather_location_get_level ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocationLevel" title="enum MateWeatherLocationLevel"><span class="returnvalue">MateWeatherLocationLevel</span></a> mateweather_location_get_level (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets <em class="parameter"><code>loc</code></em>'s level, from <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WORLD:CAPS"><code class="literal">MATEWEATHER_LOCATION_WORLD</code></a>, to +<a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"><code class="literal">MATEWEATHER_LOCATION_WEATHER_STATION</code></a>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>loc</code></em>'s level +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_parent ()"> +<a name="mateweather-location-get-parent"></a><h3>mateweather_location_get_parent ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * mateweather_location_get_parent (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets <em class="parameter"><code>loc</code></em>'s parent location.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer none) (allow-none. <a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_children ()"> +<a name="mateweather-location-get-children"></a><h3>mateweather_location_get_children ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> ** mateweather_location_get_children (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets an array of <em class="parameter"><code>loc</code></em>'s children; this is owned by <em class="parameter"><code>loc</code></em> and will +not remain valid if <em class="parameter"><code>loc</code></em> is freed.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer none) (array zero-terminated=1. <a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>. <a href="http://foldoc.org/array"><span class="acronym">array</span></a> zero-terminated=1. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_free_children ()"> +<a name="mateweather-location-free-children"></a><h3>mateweather_location_free_children ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_location_free_children (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> **children</code></em>);</pre> +<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Warning</h3> +<p><code class="literal">mateweather_location_free_children</code> is deprecated and should not be used in newly-written code. This is a no-op.</p> +</div> +<p> +This is a no-op. Do not use it.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>children</code></em> :</span></p></td> +<td>an array of <em class="parameter"><code>loc</code></em>'s children +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_has_coords ()"> +<a name="mateweather-location-has-coords"></a><h3>mateweather_location_has_coords ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> mateweather_location_has_coords (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Checks if <em class="parameter"><code>loc</code></em> has valid latitude and longitude.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <code class="literal">TRUE</code> if <em class="parameter"><code>loc</code></em> has valid latitude and longitude. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_coords ()"> +<a name="mateweather-location-get-coords"></a><h3>mateweather_location_get_coords ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_location_get_coords (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><span class="type">double</span> *latitude</code></em>, + <em class="parameter"><code><span class="type">double</span> *longitude</code></em>);</pre> +<p> +Gets <em class="parameter"><code>loc</code></em>'s coordinates; you must check +<a class="link" href="libmateweather-mateweather-location.html#mateweather-location-has-coords" title="mateweather_location_has_coords ()"><code class="function">mateweather_location_has_coords()</code></a> before calling this.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>latitude</code></em> :</span></p></td> +<td> on return will contain <em class="parameter"><code>loc</code></em>'s latitude. <a href="http://foldoc.org/out"><span class="acronym">out</span></a>. </td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>longitude</code></em> :</span></p></td> +<td> on return will contain <em class="parameter"><code>loc</code></em>'s longitude. <a href="http://foldoc.org/out"><span class="acronym">out</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_distance ()"> +<a name="mateweather-location-get-distance"></a><h3>mateweather_location_get_distance ()</h3> +<pre class="programlisting"><span class="returnvalue">double</span> mateweather_location_get_distance (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc2</code></em>);</pre> +<p> +Determines the distance in kilometers between <em class="parameter"><code>loc</code></em> and <em class="parameter"><code>loc2</code></em>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc2</code></em> :</span></p></td> +<td>a second <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> the distance between <em class="parameter"><code>loc</code></em> and <em class="parameter"><code>loc2</code></em>. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_country ()"> +<a name="mateweather-location-get-country"></a><h3>mateweather_location_get_country ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_location_get_country (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets the ISO 3166 country code of <em class="parameter"><code>loc</code></em> (or <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>loc</code></em> is a +region- or world-level location)</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>allow-none. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_timezone ()"> +<a name="mateweather-location-get-timezone"></a><h3>mateweather_location_get_timezone ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> * mateweather_location_get_timezone (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets the timezone associated with <em class="parameter"><code>loc</code></em>, if known. +</p> +<p> +The timezone is owned either by <em class="parameter"><code>loc</code></em> or by one of its parents. +FIXME.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer none) (allow-none. <a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_timezones ()"> +<a name="mateweather-location-get-timezones"></a><h3>mateweather_location_get_timezones ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> ** mateweather_location_get_timezones (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets an array of all timezones associated with any location under +<em class="parameter"><code>loc</code></em>. You can use <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-free-timezones" title="mateweather_location_free_timezones ()"><code class="function">mateweather_location_free_timezones()</code></a> to free this +array.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer full) (array zero-terminated=1. <a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>. <a href="http://foldoc.org/array"><span class="acronym">array</span></a> zero-terminated=1. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_free_timezones ()"> +<a name="mateweather-location-free-timezones"></a><h3>mateweather_location_free_timezones ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_location_free_timezones (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> **zones</code></em>);</pre> +<p> +Frees the array of timezones returned by +<a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-timezones" title="mateweather_location_get_timezones ()"><code class="function">mateweather_location_get_timezones()</code></a>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>zones</code></em> :</span></p></td> +<td>an array returned from <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-timezones" title="mateweather_location_get_timezones ()"><code class="function">mateweather_location_get_timezones()</code></a> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_code ()"> +<a name="mateweather-location-get-code"></a><h3>mateweather_location_get_code ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_location_get_code (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets the METAR station code associated with a +<a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"><code class="literal">MATEWEATHER_LOCATION_WEATHER_STATION</code></a> location.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>loc</code></em>'s METAR station code, or <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_city_name ()"> +<a name="mateweather-location-get-city-name"></a><h3>mateweather_location_get_city_name ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> * mateweather_location_get_city_name (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +For a <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-CITY:CAPS"><code class="literal">MATEWEATHER_LOCATION_CITY</code></a> location, this is equivalent to +<a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-name" title="mateweather_location_get_name ()"><code class="function">mateweather_location_get_name()</code></a>. For a +<a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"><code class="literal">MATEWEATHER_LOCATION_WEATHER_STATION</code></a> location, it is equivalent to +calling <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-name" title="mateweather_location_get_name ()"><code class="function">mateweather_location_get_name()</code></a> on the location's parent. For +other locations it will return <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> (allow-none) <em class="parameter"><code>loc</code></em>'s city name, or <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_weather ()"> +<a name="mateweather-location-get-weather"></a><h3>mateweather_location_get_weather ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="returnvalue">WeatherInfo</span></a> * mateweather_location_get_weather (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Creates a <a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> corresponding to <em class="parameter"><code>loc</code></em>; you can use +<a class="link" href="libmateweather-weather.html#weather-info-update" title="weather_info_update()"><code class="function">weather_info_update()</code></a> to fill it in.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><code class="literal">MateWeatherLocation</code></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer full. <a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather-mateweather-mateconf.html b/doc/html/libmateweather-mateweather-mateconf.html new file mode 100644 index 0000000..d0becc8 --- /dev/null +++ b/doc/html/libmateweather-mateweather-mateconf.html @@ -0,0 +1,405 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>mateweather-mateconf</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="libmateweather-mateweather-xml.html" title="mateweather-xml"> +<link rel="next" href="libmateweather-mateweather-prefs.html" title="mateweather-prefs"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="libmateweather-mateweather-xml.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-mateweather-prefs.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-mateweather-mateconf.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-mateweather-mateconf.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="mateweather-mateconf"> +<a name="libmateweather-mateweather-mateconf"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-mateweather-mateconf.top_of_page"></a>mateweather-mateconf</span></h2> +<p>mateweather-mateconf</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-mateweather-mateconf.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf">MateWeatherMateConf</a>; +<a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="returnvalue">MateWeatherMateConf</span></a> * <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-new" title="mateweather_mateconf_new ()">mateweather_mateconf_new</a> (<em class="parameter"><code>const <span class="type">char</span> *prefix</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-free" title="mateweather_mateconf_free ()">mateweather_mateconf_free</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>); +<span class="returnvalue">MateConfClient</span> * <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-client" title="mateweather_mateconf_get_client ()">mateweather_mateconf_get_client</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>); +<a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-location" title="mateweather_mateconf_get_location ()">mateweather_mateconf_get_location</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>); +<span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-full-key" title="mateweather_mateconf_get_full_key ()">mateweather_mateconf_get_full_key</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-bool" title="mateweather_mateconf_set_bool ()">mateweather_mateconf_set_bool</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> the_bool</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-int" title="mateweather_mateconf_set_int ()">mateweather_mateconf_set_int</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">gint</span> the_int</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-string" title="mateweather_mateconf_set_string ()">mateweather_mateconf_set_string</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *the_string</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-bool" title="mateweather_mateconf_get_bool ()">mateweather_mateconf_get_bool</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +<span class="returnvalue">gint</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-int" title="mateweather_mateconf_get_int ()">mateweather_mateconf_get_int</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +<span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-string" title="mateweather_mateconf_get_string ()">mateweather_mateconf_get_string</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-mateweather-mateconf.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-mateweather-mateconf.details"></a><h2>Details</h2> +<div class="refsect2" title="MateWeatherMateConf"> +<a name="MateWeatherMateConf"></a><h3>MateWeatherMateConf</h3> +<pre class="programlisting">typedef struct _MateWeatherMateConf MateWeatherMateConf;</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_new ()"> +<a name="mateweather-mateconf-new"></a><h3>mateweather_mateconf_new ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="returnvalue">MateWeatherMateConf</span></a> * mateweather_mateconf_new (<em class="parameter"><code>const <span class="type">char</span> *prefix</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_free ()"> +<a name="mateweather-mateconf-free"></a><h3>mateweather_mateconf_free ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_mateconf_free (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_client ()"> +<a name="mateweather-mateconf-get-client"></a><h3>mateweather_mateconf_get_client ()</h3> +<pre class="programlisting"><span class="returnvalue">MateConfClient</span> * mateweather_mateconf_get_client (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_location ()"> +<a name="mateweather-mateconf-get-location"></a><h3>mateweather_mateconf_get_location ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * mateweather_mateconf_get_location (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_full_key ()"> +<a name="mateweather-mateconf-get-full-key"></a><h3>mateweather_mateconf_get_full_key ()</h3> +<pre class="programlisting"><span class="returnvalue">gchar</span> * mateweather_mateconf_get_full_key (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_set_bool ()"> +<a name="mateweather-mateconf-set-bool"></a><h3>mateweather_mateconf_set_bool ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_mateconf_set_bool (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> the_bool</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>the_bool</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_set_int ()"> +<a name="mateweather-mateconf-set-int"></a><h3>mateweather_mateconf_set_int ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_mateconf_set_int (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">gint</span> the_int</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>the_int</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_set_string ()"> +<a name="mateweather-mateconf-set-string"></a><h3>mateweather_mateconf_set_string ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_mateconf_set_string (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *the_string</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>the_string</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_bool ()"> +<a name="mateweather-mateconf-get-bool"></a><h3>mateweather_mateconf_get_bool ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> mateweather_mateconf_get_bool (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_int ()"> +<a name="mateweather-mateconf-get-int"></a><h3>mateweather_mateconf_get_int ()</h3> +<pre class="programlisting"><span class="returnvalue">gint</span> mateweather_mateconf_get_int (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_string ()"> +<a name="mateweather-mateconf-get-string"></a><h3>mateweather_mateconf_get_string ()</h3> +<pre class="programlisting"><span class="returnvalue">gchar</span> * mateweather_mateconf_get_string (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather-mateweather-prefs.html b/doc/html/libmateweather-mateweather-prefs.html new file mode 100644 index 0000000..55499c1 --- /dev/null +++ b/doc/html/libmateweather-mateweather-prefs.html @@ -0,0 +1,396 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>mateweather-prefs</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="libmateweather-mateweather-mateconf.html" title="mateweather-mateconf"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="libmateweather-mateweather-mateconf.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td> </td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-mateweather-prefs.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-mateweather-prefs.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="mateweather-prefs"> +<a name="libmateweather-mateweather-prefs"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-mateweather-prefs.top_of_page"></a>mateweather-prefs</span></h2> +<p>mateweather-prefs</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-mateweather-prefs.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis">#define <a class="link" href="libmateweather-mateweather-prefs.html#MATECONF-TEMP-UNIT:CAPS" title="MATECONF_TEMP_UNIT">MATECONF_TEMP_UNIT</a> +#define <a class="link" href="libmateweather-mateweather-prefs.html#MATECONF-SPEED-UNIT:CAPS" title="MATECONF_SPEED_UNIT">MATECONF_SPEED_UNIT</a> +#define <a class="link" href="libmateweather-mateweather-prefs.html#MATECONF-PRESSURE-UNIT:CAPS" title="MATECONF_PRESSURE_UNIT">MATECONF_PRESSURE_UNIT</a> +#define <a class="link" href="libmateweather-mateweather-prefs.html#MATECONF-DISTANCE-UNIT:CAPS" title="MATECONF_DISTANCE_UNIT">MATECONF_DISTANCE_UNIT</a> + <a class="link" href="libmateweather-mateweather-prefs.html#MateWeatherPrefs" title="MateWeatherPrefs">MateWeatherPrefs</a>; +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-load" title="mateweather_prefs_load ()">mateweather_prefs_load</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-prefs.html#MateWeatherPrefs" title="MateWeatherPrefs"><span class="type">MateWeatherPrefs</span></a> *prefs</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-temp-enum-to-string" title="mateweather_prefs_temp_enum_to_string ()">mateweather_prefs_temp_enum_to_string</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> temp</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-speed-enum-to-string" title="mateweather_prefs_speed_enum_to_string ()">mateweather_prefs_speed_enum_to_string</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> speed</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-pressure-enum-to-string" title="mateweather_prefs_pressure_enum_to_string ()">mateweather_prefs_pressure_enum_to_string</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> pressure</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-distance-enum-to-string" title="mateweather_prefs_distance_enum_to_string ()">mateweather_prefs_distance_enum_to_string</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> distance</code></em>); +<a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="returnvalue">TempUnit</span></a> <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-temperature" title="mateweather_prefs_parse_temperature ()">mateweather_prefs_parse_temperature</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> *is_default</code></em>); +<a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="returnvalue">SpeedUnit</span></a> <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-speed" title="mateweather_prefs_parse_speed ()">mateweather_prefs_parse_speed</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> *is_default</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-get-temp-display-name" title="mateweather_prefs_get_temp_display_name ()">mateweather_prefs_get_temp_display_name</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> temp</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-get-speed-display-name" title="mateweather_prefs_get_speed_display_name ()">mateweather_prefs_get_speed_display_name</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> speed</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-get-pressure-display-name" title="mateweather_prefs_get_pressure_display_name ()">mateweather_prefs_get_pressure_display_name</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> pressure</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-get-distance-display-name" title="mateweather_prefs_get_distance_display_name ()">mateweather_prefs_get_distance_display_name</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> distance</code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-mateweather-prefs.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-mateweather-prefs.details"></a><h2>Details</h2> +<div class="refsect2" title="MATECONF_TEMP_UNIT"> +<a name="MATECONF-TEMP-UNIT:CAPS"></a><h3>MATECONF_TEMP_UNIT</h3> +<pre class="programlisting">#define MATECONF_TEMP_UNIT "temperature_unit" +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="MATECONF_SPEED_UNIT"> +<a name="MATECONF-SPEED-UNIT:CAPS"></a><h3>MATECONF_SPEED_UNIT</h3> +<pre class="programlisting">#define MATECONF_SPEED_UNIT "speed_unit" +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="MATECONF_PRESSURE_UNIT"> +<a name="MATECONF-PRESSURE-UNIT:CAPS"></a><h3>MATECONF_PRESSURE_UNIT</h3> +<pre class="programlisting">#define MATECONF_PRESSURE_UNIT "pressure_unit" +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="MATECONF_DISTANCE_UNIT"> +<a name="MATECONF-DISTANCE-UNIT:CAPS"></a><h3>MATECONF_DISTANCE_UNIT</h3> +<pre class="programlisting">#define MATECONF_DISTANCE_UNIT "distance_unit" +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="MateWeatherPrefs"> +<a name="MateWeatherPrefs"></a><h3>MateWeatherPrefs</h3> +<pre class="programlisting">typedef struct { + WeatherLocation *location; + gint update_interval; /* in seconds */ + gboolean update_enabled; + gboolean detailed; + gboolean radar_enabled; + gboolean use_custom_radar_url; + gchar *radar; + + TempUnit temperature_unit; + gboolean use_temperature_default; + SpeedUnit speed_unit; + gboolean use_speed_default; + PressureUnit pressure_unit; + gboolean use_pressure_default; + DistanceUnit distance_unit; + gboolean use_distance_default; +} MateWeatherPrefs; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_load ()"> +<a name="mateweather-prefs-load"></a><h3>mateweather_prefs_load ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_prefs_load (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-prefs.html#MateWeatherPrefs" title="MateWeatherPrefs"><span class="type">MateWeatherPrefs</span></a> *prefs</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>prefs</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_temp_enum_to_string ()"> +<a name="mateweather-prefs-temp-enum-to-string"></a><h3>mateweather_prefs_temp_enum_to_string ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_temp_enum_to_string (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> temp</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>temp</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_speed_enum_to_string ()"> +<a name="mateweather-prefs-speed-enum-to-string"></a><h3>mateweather_prefs_speed_enum_to_string ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_speed_enum_to_string (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> speed</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>speed</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_pressure_enum_to_string ()"> +<a name="mateweather-prefs-pressure-enum-to-string"></a><h3>mateweather_prefs_pressure_enum_to_string ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_pressure_enum_to_string + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> pressure</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>pressure</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_distance_enum_to_string ()"> +<a name="mateweather-prefs-distance-enum-to-string"></a><h3>mateweather_prefs_distance_enum_to_string ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_distance_enum_to_string + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> distance</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>distance</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_parse_temperature ()"> +<a name="mateweather-prefs-parse-temperature"></a><h3>mateweather_prefs_parse_temperature ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="returnvalue">TempUnit</span></a> mateweather_prefs_parse_temperature (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> *is_default</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>is_default</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_parse_speed ()"> +<a name="mateweather-prefs-parse-speed"></a><h3>mateweather_prefs_parse_speed ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="returnvalue">SpeedUnit</span></a> mateweather_prefs_parse_speed (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> *is_default</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>is_default</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_get_temp_display_name ()"> +<a name="mateweather-prefs-get-temp-display-name"></a><h3>mateweather_prefs_get_temp_display_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_get_temp_display_name + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> temp</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>temp</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_get_speed_display_name ()"> +<a name="mateweather-prefs-get-speed-display-name"></a><h3>mateweather_prefs_get_speed_display_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_get_speed_display_name + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> speed</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>speed</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_get_pressure_display_name ()"> +<a name="mateweather-prefs-get-pressure-display-name"></a><h3>mateweather_prefs_get_pressure_display_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_get_pressure_display_name + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> pressure</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>pressure</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_get_distance_display_name ()"> +<a name="mateweather-prefs-get-distance-display-name"></a><h3>mateweather_prefs_get_distance_display_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_get_distance_display_name + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> distance</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>distance</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather-mateweather-timezone.html b/doc/html/libmateweather-mateweather-timezone.html new file mode 100644 index 0000000..785eddf --- /dev/null +++ b/doc/html/libmateweather-mateweather-timezone.html @@ -0,0 +1,231 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>mateweather-timezone</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"> +<link rel="next" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="MateWeatherLocationEntry.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="MateWeatherTimezoneMenu.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-mateweather-timezone.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-mateweather-timezone.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="mateweather-timezone"> +<a name="libmateweather-mateweather-timezone"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-mateweather-timezone.top_of_page"></a>mateweather-timezone</span></h2> +<p>mateweather-timezone</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-mateweather-timezone.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone">MateWeatherTimezone</a>; +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-get-name" title="mateweather_timezone_get_name ()">mateweather_timezone_get_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-get-tzid" title="mateweather_timezone_get_tzid ()">mateweather_timezone_get_tzid</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +<span class="returnvalue">int</span> <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-get-offset" title="mateweather_timezone_get_offset ()">mateweather_timezone_get_offset</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-has-dst" title="mateweather_timezone_has_dst ()">mateweather_timezone_has_dst</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +<span class="returnvalue">int</span> <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-get-dst-offset" title="mateweather_timezone_get_dst_offset ()">mateweather_timezone_get_dst_offset</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +<a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> * <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-ref" title="mateweather_timezone_ref ()">mateweather_timezone_ref</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-unref" title="mateweather_timezone_unref ()">mateweather_timezone_unref</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-mateweather-timezone.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-mateweather-timezone.details"></a><h2>Details</h2> +<div class="refsect2" title="MateWeatherTimezone"> +<a name="MateWeatherTimezone"></a><h3>MateWeatherTimezone</h3> +<pre class="programlisting">typedef struct _MateWeatherTimezone MateWeatherTimezone;</pre> +<p> +A timezone. +</p> +<p> +There are no public methods for creating timezones; they can only +be created by calling <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-new-world" title="mateweather_location_new_world ()"><code class="function">mateweather_location_new_world()</code></a> to parse +Locations.xml, and then calling various <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> methods +to extract relevant timezones from the location hierarchy.</p> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_get_name ()"> +<a name="mateweather-timezone-get-name"></a><h3>mateweather_timezone_get_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_timezone_get_name (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Gets <em class="parameter"><code>zone</code></em>'s name; a translated, user-presentable string. +</p> +<p> +Note that the returned name might not be unique among timezones, +and may not make sense to the user unless it is presented along +with the timezone's country's name (or in some context where the +country is obvious).</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>zone</code></em>'s name +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_get_tzid ()"> +<a name="mateweather-timezone-get-tzid"></a><h3>mateweather_timezone_get_tzid ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_timezone_get_tzid (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Gets <em class="parameter"><code>zone</code></em>'s tzdata identifier, eg "America/New_York".</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>zone</code></em>'s tzid +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_get_offset ()"> +<a name="mateweather-timezone-get-offset"></a><h3>mateweather_timezone_get_offset ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> mateweather_timezone_get_offset (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Gets <em class="parameter"><code>zone</code></em>'s standard offset from UTC, in minutes. Eg, a value of +<code class="literal">120</code> would indicate "GMT+2".</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>zone</code></em>'s standard offset, in minutes +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_has_dst ()"> +<a name="mateweather-timezone-has-dst"></a><h3>mateweather_timezone_has_dst ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> mateweather_timezone_has_dst (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Checks if <em class="parameter"><code>zone</code></em> observes daylight/summer time for part of the year.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <code class="literal">TRUE</code> if <em class="parameter"><code>zone</code></em> observes daylight/summer time. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_get_dst_offset ()"> +<a name="mateweather-timezone-get-dst-offset"></a><h3>mateweather_timezone_get_dst_offset ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> mateweather_timezone_get_dst_offset (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Gets <em class="parameter"><code>zone</code></em>'s daylight/summer time offset from UTC, in minutes. Eg, +a value of <code class="literal">120</code> would indicate "GMT+2". This is only meaningful if +<a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-has-dst" title="mateweather_timezone_has_dst ()"><code class="function">mateweather_timezone_has_dst()</code></a> returns <code class="literal">TRUE</code>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>zone</code></em>'s daylight/summer time offset, in minutes +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_ref ()"> +<a name="mateweather-timezone-ref"></a><h3>mateweather_timezone_ref ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> * mateweather_timezone_ref (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Adds 1 to <em class="parameter"><code>zone</code></em>'s reference count.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>zone</code></em> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_unref ()"> +<a name="mateweather-timezone-unref"></a><h3>mateweather_timezone_unref ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_timezone_unref (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Subtracts 1 from <em class="parameter"><code>zone</code></em>'s reference count and frees it if it reaches 0.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr></tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather-mateweather-xml.html b/doc/html/libmateweather-mateweather-xml.html new file mode 100644 index 0000000..8419749 --- /dev/null +++ b/doc/html/libmateweather-mateweather-xml.html @@ -0,0 +1,70 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>mateweather-xml</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="libmateweather-weather.html" title="weather"> +<link rel="next" href="libmateweather-mateweather-mateconf.html" title="mateweather-mateconf"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="libmateweather-weather.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-mateweather-mateconf.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-mateweather-xml.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-mateweather-xml.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="mateweather-xml"> +<a name="libmateweather-mateweather-xml"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-mateweather-xml.top_of_page"></a>mateweather-xml</span></h2> +<p>mateweather-xml</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-mateweather-xml.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"><span class="returnvalue">GtkTreeModel</span> * <a class="link" href="libmateweather-mateweather-xml.html#mateweather-xml-load-locations" title="mateweather_xml_load_locations ()">mateweather_xml_load_locations</a> (<em class="parameter"><code><span class="type">void</span></code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-mateweather-xml.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-mateweather-xml.details"></a><h2>Details</h2> +<div class="refsect2" title="mateweather_xml_load_locations ()"> +<a name="mateweather-xml-load-locations"></a><h3>mateweather_xml_load_locations ()</h3> +<pre class="programlisting"><span class="returnvalue">GtkTreeModel</span> * mateweather_xml_load_locations (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather-weather.html b/doc/html/libmateweather-weather.html new file mode 100644 index 0000000..2c81958 --- /dev/null +++ b/doc/html/libmateweather-weather.html @@ -0,0 +1,1639 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>weather</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"> +<link rel="next" href="libmateweather-mateweather-xml.html" title="mateweather-xml"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="MateWeatherTimezoneMenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-mateweather-xml.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-weather.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-weather.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="weather"> +<a name="libmateweather-weather"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-weather.top_of_page"></a>weather</span></h2> +<p>weather</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-weather.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation">WeatherLocation</a>; +<a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * <a class="link" href="libmateweather-weather.html#weather-location-new" title="weather_location_new ()">weather_location_new</a> (<em class="parameter"><code>const <span class="type">gchar</span> *trans_name</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *code</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *zone</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *radar</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *coordinates</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *country_code</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *tz_hint</code></em>); +<a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * <a class="link" href="libmateweather-weather.html#weather-location-clone" title="weather_location_clone ()">weather_location_clone</a> (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-weather.html#weather-location-free" title="weather_location_free ()">weather_location_free</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-location-equal" title="weather_location_equal ()">weather_location_equal</a> (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location1</code></em>, + <em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location2</code></em>); +enum <a class="link" href="libmateweather-weather.html#WeatherForecastType" title="enum WeatherForecastType">WeatherForecastType</a>; +enum <a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit">TempUnit</a>; +enum <a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit">SpeedUnit</a>; +enum <a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit">PressureUnit</a>; +enum <a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit">DistanceUnit</a>; + <a class="link" href="libmateweather-weather.html#WeatherPrefs" title="WeatherPrefs">WeatherPrefs</a>; + <a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo">WeatherInfo</a>; +<span class="returnvalue">void</span> (<a class="link" href="libmateweather-weather.html#WeatherInfoFunc" title="WeatherInfoFunc ()">*WeatherInfoFunc</a>) (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> data</code></em>); +#define <a class="link" href="libmateweather-weather.html#weather-info-new" title="weather_info_new()">weather_info_new</a> (location, + prefs, + cb, + data) +#define <a class="link" href="libmateweather-weather.html#weather-info-update" title="weather_info_update()">weather_info_update</a> (info, + prefs, + cb, + data) +<span class="returnvalue">void</span> <a class="link" href="libmateweather-weather.html#weather-info-abort" title="weather_info_abort ()">weather_info_abort</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="returnvalue">WeatherInfo</span></a> * <a class="link" href="libmateweather-weather.html#weather-info-clone" title="weather_info_clone ()">weather_info_clone</a> (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-weather.html#weather-info-free" title="weather_info_free ()">weather_info_free</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-is-valid" title="weather_info_is_valid ()">weather_info_is_valid</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-network-error" title="weather_info_network_error ()">weather_info_network_error</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-weather.html#weather-info-to-metric" title="weather_info_to_metric ()">weather_info_to_metric</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-weather.html#weather-info-to-imperial" title="weather_info_to_imperial ()">weather_info_to_imperial</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * <a class="link" href="libmateweather-weather.html#weather-info-get-location" title="weather_info_get_location ()">weather_info_get_location</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-location-name" title="weather_info_get_location_name ()">weather_info_get_location_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-update" title="weather_info_get_update ()">weather_info_get_update</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-sky" title="weather_info_get_sky ()">weather_info_get_sky</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-conditions" title="weather_info_get_conditions ()">weather_info_get_conditions</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-temp" title="weather_info_get_temp ()">weather_info_get_temp</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-temp-min" title="weather_info_get_temp_min ()">weather_info_get_temp_min</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-temp-max" title="weather_info_get_temp_max ()">weather_info_get_temp_max</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-dew" title="weather_info_get_dew ()">weather_info_get_dew</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-humidity" title="weather_info_get_humidity ()">weather_info_get_humidity</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-wind" title="weather_info_get_wind ()">weather_info_get_wind</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-pressure" title="weather_info_get_pressure ()">weather_info_get_pressure</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-visibility" title="weather_info_get_visibility ()">weather_info_get_visibility</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-apparent" title="weather_info_get_apparent ()">weather_info_get_apparent</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-sunrise" title="weather_info_get_sunrise ()">weather_info_get_sunrise</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-sunset" title="weather_info_get_sunset ()">weather_info_get_sunset</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-forecast" title="weather_info_get_forecast ()">weather_info_get_forecast</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">GSList</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-forecast-list" title="weather_info_get_forecast_list ()">weather_info_get_forecast_list</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">GdkPixbufAnimation</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-radar" title="weather_info_get_radar ()">weather_info_get_radar</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-temp-summary" title="weather_info_get_temp_summary ()">weather_info_get_temp_summary</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-weather-summary" title="weather_info_get_weather_summary ()">weather_info_get_weather_summary</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-icon-name" title="weather_info_get_icon_name ()">weather_info_get_icon_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">gint</span> <a class="link" href="libmateweather-weather.html#weather-info-next-sun-event" title="weather_info_next_sun_event ()">weather_info_next_sun_event</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +enum <a class="link" href="libmateweather-weather.html#WeatherWindDirection" title="enum WeatherWindDirection">WeatherWindDirection</a>; +enum <a class="link" href="libmateweather-weather.html#WeatherSky" title="enum WeatherSky">WeatherSky</a>; +enum <a class="link" href="libmateweather-weather.html#WeatherConditionPhenomenon" title="enum WeatherConditionPhenomenon">WeatherConditionPhenomenon</a>; +enum <a class="link" href="libmateweather-weather.html#WeatherConditionQualifier" title="enum WeatherConditionQualifier">WeatherConditionQualifier</a>; +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-update" title="weather_info_get_value_update ()">weather_info_get_value_update</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-sky" title="weather_info_get_value_sky ()">weather_info_get_value_sky</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherSky" title="enum WeatherSky"><span class="type">WeatherSky</span></a> *sky</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-conditions" title="weather_info_get_value_conditions ()">weather_info_get_value_conditions</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherConditionPhenomenon" title="enum WeatherConditionPhenomenon"><span class="type">WeatherConditionPhenomenon</span></a> *phenomenon</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherConditionQualifier" title="enum WeatherConditionQualifier"><span class="type">WeatherConditionQualifier</span></a> *qualifier</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-temp" title="weather_info_get_value_temp ()">weather_info_get_value_temp</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-temp-min" title="weather_info_get_value_temp_min ()">weather_info_get_value_temp_min</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-temp-max" title="weather_info_get_value_temp_max ()">weather_info_get_value_temp_max</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-dew" title="weather_info_get_value_dew ()">weather_info_get_value_dew</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-apparent" title="weather_info_get_value_apparent ()">weather_info_get_value_apparent</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-wind" title="weather_info_get_value_wind ()">weather_info_get_value_wind</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *speed</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherWindDirection" title="enum WeatherWindDirection"><span class="type">WeatherWindDirection</span></a> *direction</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-pressure" title="weather_info_get_value_pressure ()">weather_info_get_value_pressure</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-visibility" title="weather_info_get_value_visibility ()">weather_info_get_value_visibility</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-sunrise" title="weather_info_get_value_sunrise ()">weather_info_get_value_sunrise</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-sunset" title="weather_info_get_value_sunset ()">weather_info_get_value_sunset</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-weather.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-weather.details"></a><h2>Details</h2> +<div class="refsect2" title="WeatherLocation"> +<a name="WeatherLocation"></a><h3>WeatherLocation</h3> +<pre class="programlisting">typedef struct { + gchar *name; + gchar *code; + gchar *zone; + gchar *radar; + gboolean zone_valid; + gchar *coordinates; + gdouble latitude; + gdouble longitude; + gboolean latlon_valid; + gchar *country_code; + gchar *tz_hint; +} WeatherLocation; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="weather_location_new ()"> +<a name="weather-location-new"></a><h3>weather_location_new ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * weather_location_new (<em class="parameter"><code>const <span class="type">gchar</span> *trans_name</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *code</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *zone</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *radar</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *coordinates</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *country_code</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *tz_hint</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>trans_name</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>radar</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>coordinates</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>country_code</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>tz_hint</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_location_clone ()"> +<a name="weather-location-clone"></a><h3>weather_location_clone ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * weather_location_clone (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_location_free ()"> +<a name="weather-location-free"></a><h3>weather_location_free ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> weather_location_free (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_location_equal ()"> +<a name="weather-location-equal"></a><h3>weather_location_equal ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_location_equal (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location1</code></em>, + <em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location2</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>location1</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>location2</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="enum WeatherForecastType"> +<a name="WeatherForecastType"></a><h3>enum WeatherForecastType</h3> +<pre class="programlisting">typedef enum _WeatherForecastType { + FORECAST_STATE, + FORECAST_ZONE, + FORECAST_LIST +} WeatherForecastType; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum TempUnit"> +<a name="TempUnit"></a><h3>enum TempUnit</h3> +<pre class="programlisting">typedef enum { + TEMP_UNIT_INVALID = 0, + TEMP_UNIT_DEFAULT, + TEMP_UNIT_KELVIN, + TEMP_UNIT_CENTIGRADE, + TEMP_UNIT_FAHRENHEIT +} TempUnit; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum SpeedUnit"> +<a name="SpeedUnit"></a><h3>enum SpeedUnit</h3> +<pre class="programlisting">typedef enum { + SPEED_UNIT_INVALID = 0, + SPEED_UNIT_DEFAULT, + SPEED_UNIT_MS, /* metres per second */ + SPEED_UNIT_KPH, /* kilometres per hour */ + SPEED_UNIT_MPH, /* miles per hour */ + SPEED_UNIT_KNOTS, /* Knots */ + SPEED_UNIT_BFT /* Beaufort scale */ +} SpeedUnit; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum PressureUnit"> +<a name="PressureUnit"></a><h3>enum PressureUnit</h3> +<pre class="programlisting">typedef enum { + PRESSURE_UNIT_INVALID = 0, + PRESSURE_UNIT_DEFAULT, + PRESSURE_UNIT_KPA, /* kiloPascal */ + PRESSURE_UNIT_HPA, /* hectoPascal */ + PRESSURE_UNIT_MB, /* 1 millibars = 1 hectoPascal */ + PRESSURE_UNIT_MM_HG, /* millimeters of mecury */ + PRESSURE_UNIT_INCH_HG, /* inches of mercury */ + PRESSURE_UNIT_ATM /* atmosphere */ +} PressureUnit; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum DistanceUnit"> +<a name="DistanceUnit"></a><h3>enum DistanceUnit</h3> +<pre class="programlisting">typedef enum { + DISTANCE_UNIT_INVALID = 0, + DISTANCE_UNIT_DEFAULT, + DISTANCE_UNIT_METERS, + DISTANCE_UNIT_KM, + DISTANCE_UNIT_MILES +} DistanceUnit; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="WeatherPrefs"> +<a name="WeatherPrefs"></a><h3>WeatherPrefs</h3> +<pre class="programlisting">typedef struct { + WeatherForecastType type; + + gboolean radar; + const char *radar_custom_url; + + TempUnit temperature_unit; + SpeedUnit speed_unit; + PressureUnit pressure_unit; + DistanceUnit distance_unit; +} WeatherPrefs; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="WeatherInfo"> +<a name="WeatherInfo"></a><h3>WeatherInfo</h3> +<pre class="programlisting">typedef struct _WeatherInfo WeatherInfo;</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="WeatherInfoFunc ()"> +<a name="WeatherInfoFunc"></a><h3>WeatherInfoFunc ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> (*WeatherInfoFunc) (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_new()"> +<a name="weather-info-new"></a><h3>weather_info_new()</h3> +<pre class="programlisting">#define weather_info_new(location, prefs, cb, data) _weather_info_fill (NULL, (location), (prefs), (cb), (data)) +</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>prefs</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_update()"> +<a name="weather-info-update"></a><h3>weather_info_update()</h3> +<pre class="programlisting">#define weather_info_update(info, prefs, cb, data) _weather_info_fill ((info), NULL, (prefs), (cb), (data)) +</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>prefs</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_abort ()"> +<a name="weather-info-abort"></a><h3>weather_info_abort ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> weather_info_abort (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_clone ()"> +<a name="weather-info-clone"></a><h3>weather_info_clone ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="returnvalue">WeatherInfo</span></a> * weather_info_clone (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_free ()"> +<a name="weather-info-free"></a><h3>weather_info_free ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> weather_info_free (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_is_valid ()"> +<a name="weather-info-is-valid"></a><h3>weather_info_is_valid ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_is_valid (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_network_error ()"> +<a name="weather-info-network-error"></a><h3>weather_info_network_error ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_network_error (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_to_metric ()"> +<a name="weather-info-to-metric"></a><h3>weather_info_to_metric ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> weather_info_to_metric (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_to_imperial ()"> +<a name="weather-info-to-imperial"></a><h3>weather_info_to_imperial ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> weather_info_to_imperial (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_location ()"> +<a name="weather-info-get-location"></a><h3>weather_info_get_location ()</h3> +<pre class="programlisting">const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * weather_info_get_location (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_location_name ()"> +<a name="weather-info-get-location-name"></a><h3>weather_info_get_location_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_location_name (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_update ()"> +<a name="weather-info-get-update"></a><h3>weather_info_get_update ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_update (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_sky ()"> +<a name="weather-info-get-sky"></a><h3>weather_info_get_sky ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_sky (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_conditions ()"> +<a name="weather-info-get-conditions"></a><h3>weather_info_get_conditions ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_conditions (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_temp ()"> +<a name="weather-info-get-temp"></a><h3>weather_info_get_temp ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_temp (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_temp_min ()"> +<a name="weather-info-get-temp-min"></a><h3>weather_info_get_temp_min ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_temp_min (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_temp_max ()"> +<a name="weather-info-get-temp-max"></a><h3>weather_info_get_temp_max ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_temp_max (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_dew ()"> +<a name="weather-info-get-dew"></a><h3>weather_info_get_dew ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_dew (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_humidity ()"> +<a name="weather-info-get-humidity"></a><h3>weather_info_get_humidity ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_humidity (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_wind ()"> +<a name="weather-info-get-wind"></a><h3>weather_info_get_wind ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_wind (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_pressure ()"> +<a name="weather-info-get-pressure"></a><h3>weather_info_get_pressure ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_pressure (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_visibility ()"> +<a name="weather-info-get-visibility"></a><h3>weather_info_get_visibility ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_visibility (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_apparent ()"> +<a name="weather-info-get-apparent"></a><h3>weather_info_get_apparent ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_apparent (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_sunrise ()"> +<a name="weather-info-get-sunrise"></a><h3>weather_info_get_sunrise ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_sunrise (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_sunset ()"> +<a name="weather-info-get-sunset"></a><h3>weather_info_get_sunset ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_sunset (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_forecast ()"> +<a name="weather-info-get-forecast"></a><h3>weather_info_get_forecast ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_forecast (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_forecast_list ()"> +<a name="weather-info-get-forecast-list"></a><h3>weather_info_get_forecast_list ()</h3> +<pre class="programlisting"><span class="returnvalue">GSList</span> * weather_info_get_forecast_list (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_radar ()"> +<a name="weather-info-get-radar"></a><h3>weather_info_get_radar ()</h3> +<pre class="programlisting"><span class="returnvalue">GdkPixbufAnimation</span> * weather_info_get_radar (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_temp_summary ()"> +<a name="weather-info-get-temp-summary"></a><h3>weather_info_get_temp_summary ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_temp_summary (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_weather_summary ()"> +<a name="weather-info-get-weather-summary"></a><h3>weather_info_get_weather_summary ()</h3> +<pre class="programlisting"><span class="returnvalue">gchar</span> * weather_info_get_weather_summary (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_icon_name ()"> +<a name="weather-info-get-icon-name"></a><h3>weather_info_get_icon_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_icon_name (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_next_sun_event ()"> +<a name="weather-info-next-sun-event"></a><h3>weather_info_next_sun_event ()</h3> +<pre class="programlisting"><span class="returnvalue">gint</span> weather_info_next_sun_event (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +<a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> structure +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> the interval, in seconds, until the next "sun event": + - local midnight, when rise and set times are recomputed + - next sunrise, when icon changes to daytime version + - next sunset, when icon changes to nighttime version +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="enum WeatherWindDirection"> +<a name="WeatherWindDirection"></a><h3>enum WeatherWindDirection</h3> +<pre class="programlisting">enum WeatherWindDirection { + WIND_INVALID = -1, + WIND_VARIABLE, + WIND_N, WIND_NNE, WIND_NE, WIND_ENE, + WIND_E, WIND_ESE, WIND_SE, WIND_SSE, + WIND_S, WIND_SSW, WIND_SW, WIND_WSW, + WIND_W, WIND_WNW, WIND_NW, WIND_NNW, + WIND_LAST +}; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum WeatherSky"> +<a name="WeatherSky"></a><h3>enum WeatherSky</h3> +<pre class="programlisting">enum WeatherSky { + SKY_INVALID = -1, + SKY_CLEAR, + SKY_BROKEN, + SKY_SCATTERED, + SKY_FEW, + SKY_OVERCAST, + SKY_LAST +}; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum WeatherConditionPhenomenon"> +<a name="WeatherConditionPhenomenon"></a><h3>enum WeatherConditionPhenomenon</h3> +<pre class="programlisting">enum WeatherConditionPhenomenon { + PHENOMENON_INVALID = -1, + + PHENOMENON_NONE, + + PHENOMENON_DRIZZLE, + PHENOMENON_RAIN, + PHENOMENON_SNOW, + PHENOMENON_SNOW_GRAINS, + PHENOMENON_ICE_CRYSTALS, + PHENOMENON_ICE_PELLETS, + PHENOMENON_HAIL, + PHENOMENON_SMALL_HAIL, + PHENOMENON_UNKNOWN_PRECIPITATION, + + PHENOMENON_MIST, + PHENOMENON_FOG, + PHENOMENON_SMOKE, + PHENOMENON_VOLCANIC_ASH, + PHENOMENON_SAND, + PHENOMENON_HAZE, + PHENOMENON_SPRAY, + PHENOMENON_DUST, + + PHENOMENON_SQUALL, + PHENOMENON_SANDSTORM, + PHENOMENON_DUSTSTORM, + PHENOMENON_FUNNEL_CLOUD, + PHENOMENON_TORNADO, + PHENOMENON_DUST_WHIRLS, + + PHENOMENON_LAST +}; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum WeatherConditionQualifier"> +<a name="WeatherConditionQualifier"></a><h3>enum WeatherConditionQualifier</h3> +<pre class="programlisting">enum WeatherConditionQualifier { + QUALIFIER_INVALID = -1, + + QUALIFIER_NONE, + + QUALIFIER_VICINITY, + + QUALIFIER_LIGHT, + QUALIFIER_MODERATE, + QUALIFIER_HEAVY, + QUALIFIER_SHALLOW, + QUALIFIER_PATCHES, + QUALIFIER_PARTIAL, + QUALIFIER_THUNDERSTORM, + QUALIFIER_BLOWING, + QUALIFIER_SHOWERS, + QUALIFIER_DRIFTING, + QUALIFIER_FREEZING, + + QUALIFIER_LAST +}; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_update ()"> +<a name="weather-info-get-value-update"></a><h3>weather_info_get_value_update ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_update (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_sky ()"> +<a name="weather-info-get-value-sky"></a><h3>weather_info_get_value_sky ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_sky (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherSky" title="enum WeatherSky"><span class="type">WeatherSky</span></a> *sky</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>sky</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_conditions ()"> +<a name="weather-info-get-value-conditions"></a><h3>weather_info_get_value_conditions ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_conditions (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherConditionPhenomenon" title="enum WeatherConditionPhenomenon"><span class="type">WeatherConditionPhenomenon</span></a> *phenomenon</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherConditionQualifier" title="enum WeatherConditionQualifier"><span class="type">WeatherConditionQualifier</span></a> *qualifier</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>phenomenon</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>qualifier</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_temp ()"> +<a name="weather-info-get-value-temp"></a><h3>weather_info_get_value_temp ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_temp (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_temp_min ()"> +<a name="weather-info-get-value-temp-min"></a><h3>weather_info_get_value_temp_min ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_temp_min (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_temp_max ()"> +<a name="weather-info-get-value-temp-max"></a><h3>weather_info_get_value_temp_max ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_temp_max (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_dew ()"> +<a name="weather-info-get-value-dew"></a><h3>weather_info_get_value_dew ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_dew (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_apparent ()"> +<a name="weather-info-get-value-apparent"></a><h3>weather_info_get_value_apparent ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_apparent (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_wind ()"> +<a name="weather-info-get-value-wind"></a><h3>weather_info_get_value_wind ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_wind (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *speed</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherWindDirection" title="enum WeatherWindDirection"><span class="type">WeatherWindDirection</span></a> *direction</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>speed</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>direction</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_pressure ()"> +<a name="weather-info-get-value-pressure"></a><h3>weather_info_get_value_pressure ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_pressure (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_visibility ()"> +<a name="weather-info-get-value-visibility"></a><h3>weather_info_get_value_visibility ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_visibility (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_sunrise ()"> +<a name="weather-info-get-value-sunrise"></a><h3>weather_info_get_value_sunrise ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_sunrise (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_sunset ()"> +<a name="weather-info-get-value-sunset"></a><h3>weather_info_get_value_sunset ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_sunset (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather.devhelp b/doc/html/libmateweather.devhelp new file mode 100644 index 0000000..ab9e7b7 --- /dev/null +++ b/doc/html/libmateweather.devhelp @@ -0,0 +1,151 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> +<book xmlns="http://www.devhelp.net/book" title="libmateweather Reference Manual" link="index.html" author="" name="libmateweather"> + <chapters> + <sub name="[Insert title here]" link="ch01.html"> + <sub name="mateweather-location" link="libmateweather-mateweather-location.html"/> + <sub name="MateWeatherLocationEntry" link="MateWeatherLocationEntry.html"/> + <sub name="mateweather-timezone" link="libmateweather-mateweather-timezone.html"/> + <sub name="MateWeatherTimezoneMenu" link="MateWeatherTimezoneMenu.html"/> + <sub name="weather" link="libmateweather-weather.html"/> + <sub name="mateweather-xml" link="libmateweather-mateweather-xml.html"/> + <sub name="mateweather-mateconf" link="libmateweather-mateweather-mateconf.html"/> + <sub name="mateweather-prefs" link="libmateweather-mateweather-prefs.html"/> + </sub> + </chapters> + <functions> + <function name="MateWeatherLocation" link="libmateweather-mateweather-location.html#MateWeatherLocation"/> + <function name="enum MateWeatherLocationLevel" link="libmateweather-mateweather-location.html#MateWeatherLocationLevel"/> + <function name="mateweather_location_new_world ()" link="libmateweather-mateweather-location.html#mateweather-location-new-world"/> + <function name="mateweather_location_ref ()" link="libmateweather-mateweather-location.html#mateweather-location-ref"/> + <function name="mateweather_location_unref ()" link="libmateweather-mateweather-location.html#mateweather-location-unref"/> + <function name="mateweather_location_get_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-name"/> + <function name="mateweather_location_get_sort_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-sort-name"/> + <function name="mateweather_location_get_level ()" link="libmateweather-mateweather-location.html#mateweather-location-get-level"/> + <function name="mateweather_location_get_parent ()" link="libmateweather-mateweather-location.html#mateweather-location-get-parent"/> + <function name="mateweather_location_get_children ()" link="libmateweather-mateweather-location.html#mateweather-location-get-children"/> + <function name="mateweather_location_free_children ()" link="libmateweather-mateweather-location.html#mateweather-location-free-children"/> + <function name="mateweather_location_has_coords ()" link="libmateweather-mateweather-location.html#mateweather-location-has-coords"/> + <function name="mateweather_location_get_coords ()" link="libmateweather-mateweather-location.html#mateweather-location-get-coords"/> + <function name="mateweather_location_get_distance ()" link="libmateweather-mateweather-location.html#mateweather-location-get-distance"/> + <function name="mateweather_location_get_country ()" link="libmateweather-mateweather-location.html#mateweather-location-get-country"/> + <function name="mateweather_location_get_timezone ()" link="libmateweather-mateweather-location.html#mateweather-location-get-timezone"/> + <function name="mateweather_location_get_timezones ()" link="libmateweather-mateweather-location.html#mateweather-location-get-timezones"/> + <function name="mateweather_location_free_timezones ()" link="libmateweather-mateweather-location.html#mateweather-location-free-timezones"/> + <function name="mateweather_location_get_code ()" link="libmateweather-mateweather-location.html#mateweather-location-get-code"/> + <function name="mateweather_location_get_city_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-city-name"/> + <function name="mateweather_location_get_weather ()" link="libmateweather-mateweather-location.html#mateweather-location-get-weather"/> + <function name="MateWeatherLocationEntry" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry-struct"/> + <function name="mateweather_location_entry_new ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-new"/> + <function name="mateweather_location_entry_set_location ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-set-location"/> + <function name="mateweather_location_entry_get_location ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-get-location"/> + <function name="mateweather_location_entry_set_city ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-set-city"/> + <function name="The "location" property" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry--location"/> + <function name="The "top" property" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry--top"/> + <function name="MateWeatherTimezone" link="libmateweather-mateweather-timezone.html#MateWeatherTimezone"/> + <function name="mateweather_timezone_get_name ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-name"/> + <function name="mateweather_timezone_get_tzid ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-tzid"/> + <function name="mateweather_timezone_get_offset ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-offset"/> + <function name="mateweather_timezone_has_dst ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-has-dst"/> + <function name="mateweather_timezone_get_dst_offset ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-dst-offset"/> + <function name="mateweather_timezone_ref ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-ref"/> + <function name="mateweather_timezone_unref ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-unref"/> + <function name="MateWeatherTimezoneMenu" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu-struct"/> + <function name="mateweather_timezone_menu_new ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-new"/> + <function name="mateweather_timezone_menu_set_tzid ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-set-tzid"/> + <function name="mateweather_timezone_menu_get_tzid ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-get-tzid"/> + <function name="The "top" property" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--top"/> + <function name="The "tzid" property" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--tzid"/> + <function name="WeatherLocation" link="libmateweather-weather.html#WeatherLocation"/> + <function name="weather_location_new ()" link="libmateweather-weather.html#weather-location-new"/> + <function name="weather_location_clone ()" link="libmateweather-weather.html#weather-location-clone"/> + <function name="weather_location_free ()" link="libmateweather-weather.html#weather-location-free"/> + <function name="weather_location_equal ()" link="libmateweather-weather.html#weather-location-equal"/> + <function name="enum WeatherForecastType" link="libmateweather-weather.html#WeatherForecastType"/> + <function name="enum TempUnit" link="libmateweather-weather.html#TempUnit"/> + <function name="enum SpeedUnit" link="libmateweather-weather.html#SpeedUnit"/> + <function name="enum PressureUnit" link="libmateweather-weather.html#PressureUnit"/> + <function name="enum DistanceUnit" link="libmateweather-weather.html#DistanceUnit"/> + <function name="WeatherPrefs" link="libmateweather-weather.html#WeatherPrefs"/> + <function name="WeatherInfo" link="libmateweather-weather.html#WeatherInfo"/> + <function name="WeatherInfoFunc ()" link="libmateweather-weather.html#WeatherInfoFunc"/> + <function name="weather_info_new()" link="libmateweather-weather.html#weather-info-new"/> + <function name="weather_info_update()" link="libmateweather-weather.html#weather-info-update"/> + <function name="weather_info_abort ()" link="libmateweather-weather.html#weather-info-abort"/> + <function name="weather_info_clone ()" link="libmateweather-weather.html#weather-info-clone"/> + <function name="weather_info_free ()" link="libmateweather-weather.html#weather-info-free"/> + <function name="weather_info_is_valid ()" link="libmateweather-weather.html#weather-info-is-valid"/> + <function name="weather_info_network_error ()" link="libmateweather-weather.html#weather-info-network-error"/> + <function name="weather_info_to_metric ()" link="libmateweather-weather.html#weather-info-to-metric"/> + <function name="weather_info_to_imperial ()" link="libmateweather-weather.html#weather-info-to-imperial"/> + <function name="weather_info_get_location ()" link="libmateweather-weather.html#weather-info-get-location"/> + <function name="weather_info_get_location_name ()" link="libmateweather-weather.html#weather-info-get-location-name"/> + <function name="weather_info_get_update ()" link="libmateweather-weather.html#weather-info-get-update"/> + <function name="weather_info_get_sky ()" link="libmateweather-weather.html#weather-info-get-sky"/> + <function name="weather_info_get_conditions ()" link="libmateweather-weather.html#weather-info-get-conditions"/> + <function name="weather_info_get_temp ()" link="libmateweather-weather.html#weather-info-get-temp"/> + <function name="weather_info_get_temp_min ()" link="libmateweather-weather.html#weather-info-get-temp-min"/> + <function name="weather_info_get_temp_max ()" link="libmateweather-weather.html#weather-info-get-temp-max"/> + <function name="weather_info_get_dew ()" link="libmateweather-weather.html#weather-info-get-dew"/> + <function name="weather_info_get_humidity ()" link="libmateweather-weather.html#weather-info-get-humidity"/> + <function name="weather_info_get_wind ()" link="libmateweather-weather.html#weather-info-get-wind"/> + <function name="weather_info_get_pressure ()" link="libmateweather-weather.html#weather-info-get-pressure"/> + <function name="weather_info_get_visibility ()" link="libmateweather-weather.html#weather-info-get-visibility"/> + <function name="weather_info_get_apparent ()" link="libmateweather-weather.html#weather-info-get-apparent"/> + <function name="weather_info_get_sunrise ()" link="libmateweather-weather.html#weather-info-get-sunrise"/> + <function name="weather_info_get_sunset ()" link="libmateweather-weather.html#weather-info-get-sunset"/> + <function name="weather_info_get_forecast ()" link="libmateweather-weather.html#weather-info-get-forecast"/> + <function name="weather_info_get_forecast_list ()" link="libmateweather-weather.html#weather-info-get-forecast-list"/> + <function name="weather_info_get_radar ()" link="libmateweather-weather.html#weather-info-get-radar"/> + <function name="weather_info_get_temp_summary ()" link="libmateweather-weather.html#weather-info-get-temp-summary"/> + <function name="weather_info_get_weather_summary ()" link="libmateweather-weather.html#weather-info-get-weather-summary"/> + <function name="weather_info_get_icon_name ()" link="libmateweather-weather.html#weather-info-get-icon-name"/> + <function name="weather_info_next_sun_event ()" link="libmateweather-weather.html#weather-info-next-sun-event"/> + <function name="enum WeatherWindDirection" link="libmateweather-weather.html#WeatherWindDirection"/> + <function name="enum WeatherSky" link="libmateweather-weather.html#WeatherSky"/> + <function name="enum WeatherConditionPhenomenon" link="libmateweather-weather.html#WeatherConditionPhenomenon"/> + <function name="enum WeatherConditionQualifier" link="libmateweather-weather.html#WeatherConditionQualifier"/> + <function name="weather_info_get_value_update ()" link="libmateweather-weather.html#weather-info-get-value-update"/> + <function name="weather_info_get_value_sky ()" link="libmateweather-weather.html#weather-info-get-value-sky"/> + <function name="weather_info_get_value_conditions ()" link="libmateweather-weather.html#weather-info-get-value-conditions"/> + <function name="weather_info_get_value_temp ()" link="libmateweather-weather.html#weather-info-get-value-temp"/> + <function name="weather_info_get_value_temp_min ()" link="libmateweather-weather.html#weather-info-get-value-temp-min"/> + <function name="weather_info_get_value_temp_max ()" link="libmateweather-weather.html#weather-info-get-value-temp-max"/> + <function name="weather_info_get_value_dew ()" link="libmateweather-weather.html#weather-info-get-value-dew"/> + <function name="weather_info_get_value_apparent ()" link="libmateweather-weather.html#weather-info-get-value-apparent"/> + <function name="weather_info_get_value_wind ()" link="libmateweather-weather.html#weather-info-get-value-wind"/> + <function name="weather_info_get_value_pressure ()" link="libmateweather-weather.html#weather-info-get-value-pressure"/> + <function name="weather_info_get_value_visibility ()" link="libmateweather-weather.html#weather-info-get-value-visibility"/> + <function name="weather_info_get_value_sunrise ()" link="libmateweather-weather.html#weather-info-get-value-sunrise"/> + <function name="weather_info_get_value_sunset ()" link="libmateweather-weather.html#weather-info-get-value-sunset"/> + <function name="mateweather_xml_load_locations ()" link="libmateweather-mateweather-xml.html#mateweather-xml-load-locations"/> + <function name="MateWeatherMateConf" link="libmateweather-mateweather-mateconf.html#MateWeatherMateConf"/> + <function name="mateweather_mateconf_new ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-new"/> + <function name="mateweather_mateconf_free ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-free"/> + <function name="mateweather_mateconf_get_client ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-client"/> + <function name="mateweather_mateconf_get_location ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-location"/> + <function name="mateweather_mateconf_get_full_key ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-full-key"/> + <function name="mateweather_mateconf_set_bool ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-bool"/> + <function name="mateweather_mateconf_set_int ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-int"/> + <function name="mateweather_mateconf_set_string ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-string"/> + <function name="mateweather_mateconf_get_bool ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-bool"/> + <function name="mateweather_mateconf_get_int ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-int"/> + <function name="mateweather_mateconf_get_string ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-string"/> + <function name="MATECONF_TEMP_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-TEMP-UNIT:CAPS"/> + <function name="MATECONF_SPEED_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-SPEED-UNIT:CAPS"/> + <function name="MATECONF_PRESSURE_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-PRESSURE-UNIT:CAPS"/> + <function name="MATECONF_DISTANCE_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-DISTANCE-UNIT:CAPS"/> + <function name="MateWeatherPrefs" link="libmateweather-mateweather-prefs.html#MateWeatherPrefs"/> + <function name="mateweather_prefs_load ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-load"/> + <function name="mateweather_prefs_temp_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-temp-enum-to-string"/> + <function name="mateweather_prefs_speed_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-speed-enum-to-string"/> + <function name="mateweather_prefs_pressure_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-pressure-enum-to-string"/> + <function name="mateweather_prefs_distance_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-distance-enum-to-string"/> + <function name="mateweather_prefs_parse_temperature ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-temperature"/> + <function name="mateweather_prefs_parse_speed ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-speed"/> + <function name="mateweather_prefs_get_temp_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-temp-display-name"/> + <function name="mateweather_prefs_get_speed_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-speed-display-name"/> + <function name="mateweather_prefs_get_pressure_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-pressure-display-name"/> + <function name="mateweather_prefs_get_distance_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-distance-display-name"/> + </functions> +</book> diff --git a/doc/html/libmateweather.devhelp2 b/doc/html/libmateweather.devhelp2 new file mode 100644 index 0000000..6c0b186 --- /dev/null +++ b/doc/html/libmateweather.devhelp2 @@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> +<book xmlns="http://www.devhelp.net/book" title="libmateweather Reference Manual" link="index.html" author="" name="libmateweather" version="2" language="c"> + <chapters> + <sub name="[Insert title here]" link="ch01.html"> + <sub name="mateweather-location" link="libmateweather-mateweather-location.html"/> + <sub name="MateWeatherLocationEntry" link="MateWeatherLocationEntry.html"/> + <sub name="mateweather-timezone" link="libmateweather-mateweather-timezone.html"/> + <sub name="MateWeatherTimezoneMenu" link="MateWeatherTimezoneMenu.html"/> + <sub name="weather" link="libmateweather-weather.html"/> + <sub name="mateweather-xml" link="libmateweather-mateweather-xml.html"/> + <sub name="mateweather-mateconf" link="libmateweather-mateweather-mateconf.html"/> + <sub name="mateweather-prefs" link="libmateweather-mateweather-prefs.html"/> + </sub> + </chapters> + <functions> + <keyword type="struct" name="MateWeatherLocation" link="libmateweather-mateweather-location.html#MateWeatherLocation"/> + <keyword type="enum" name="enum MateWeatherLocationLevel" link="libmateweather-mateweather-location.html#MateWeatherLocationLevel"/> + <keyword type="function" name="mateweather_location_new_world ()" link="libmateweather-mateweather-location.html#mateweather-location-new-world"/> + <keyword type="function" name="mateweather_location_ref ()" link="libmateweather-mateweather-location.html#mateweather-location-ref"/> + <keyword type="function" name="mateweather_location_unref ()" link="libmateweather-mateweather-location.html#mateweather-location-unref"/> + <keyword type="function" name="mateweather_location_get_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-name"/> + <keyword type="function" name="mateweather_location_get_sort_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-sort-name"/> + <keyword type="function" name="mateweather_location_get_level ()" link="libmateweather-mateweather-location.html#mateweather-location-get-level"/> + <keyword type="function" name="mateweather_location_get_parent ()" link="libmateweather-mateweather-location.html#mateweather-location-get-parent"/> + <keyword type="function" name="mateweather_location_get_children ()" link="libmateweather-mateweather-location.html#mateweather-location-get-children"/> + <keyword type="function" name="mateweather_location_free_children ()" link="libmateweather-mateweather-location.html#mateweather-location-free-children" deprecated="This is a no-op."/> + <keyword type="function" name="mateweather_location_has_coords ()" link="libmateweather-mateweather-location.html#mateweather-location-has-coords"/> + <keyword type="function" name="mateweather_location_get_coords ()" link="libmateweather-mateweather-location.html#mateweather-location-get-coords"/> + <keyword type="function" name="mateweather_location_get_distance ()" link="libmateweather-mateweather-location.html#mateweather-location-get-distance"/> + <keyword type="function" name="mateweather_location_get_country ()" link="libmateweather-mateweather-location.html#mateweather-location-get-country"/> + <keyword type="function" name="mateweather_location_get_timezone ()" link="libmateweather-mateweather-location.html#mateweather-location-get-timezone"/> + <keyword type="function" name="mateweather_location_get_timezones ()" link="libmateweather-mateweather-location.html#mateweather-location-get-timezones"/> + <keyword type="function" name="mateweather_location_free_timezones ()" link="libmateweather-mateweather-location.html#mateweather-location-free-timezones"/> + <keyword type="function" name="mateweather_location_get_code ()" link="libmateweather-mateweather-location.html#mateweather-location-get-code"/> + <keyword type="function" name="mateweather_location_get_city_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-city-name"/> + <keyword type="function" name="mateweather_location_get_weather ()" link="libmateweather-mateweather-location.html#mateweather-location-get-weather"/> + <keyword type="struct" name="MateWeatherLocationEntry" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry-struct"/> + <keyword type="function" name="mateweather_location_entry_new ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-new"/> + <keyword type="function" name="mateweather_location_entry_set_location ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-set-location"/> + <keyword type="function" name="mateweather_location_entry_get_location ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-get-location"/> + <keyword type="function" name="mateweather_location_entry_set_city ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-set-city"/> + <keyword type="property" name="The "location" property" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry--location"/> + <keyword type="property" name="The "top" property" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry--top"/> + <keyword type="struct" name="MateWeatherTimezone" link="libmateweather-mateweather-timezone.html#MateWeatherTimezone"/> + <keyword type="function" name="mateweather_timezone_get_name ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-name"/> + <keyword type="function" name="mateweather_timezone_get_tzid ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-tzid"/> + <keyword type="function" name="mateweather_timezone_get_offset ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-offset"/> + <keyword type="function" name="mateweather_timezone_has_dst ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-has-dst"/> + <keyword type="function" name="mateweather_timezone_get_dst_offset ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-dst-offset"/> + <keyword type="function" name="mateweather_timezone_ref ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-ref"/> + <keyword type="function" name="mateweather_timezone_unref ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-unref"/> + <keyword type="struct" name="MateWeatherTimezoneMenu" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu-struct"/> + <keyword type="function" name="mateweather_timezone_menu_new ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-new"/> + <keyword type="function" name="mateweather_timezone_menu_set_tzid ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-set-tzid"/> + <keyword type="function" name="mateweather_timezone_menu_get_tzid ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-get-tzid"/> + <keyword type="property" name="The "top" property" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--top"/> + <keyword type="property" name="The "tzid" property" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--tzid"/> + <keyword type="struct" name="WeatherLocation" link="libmateweather-weather.html#WeatherLocation"/> + <keyword type="function" name="weather_location_new ()" link="libmateweather-weather.html#weather-location-new"/> + <keyword type="function" name="weather_location_clone ()" link="libmateweather-weather.html#weather-location-clone"/> + <keyword type="function" name="weather_location_free ()" link="libmateweather-weather.html#weather-location-free"/> + <keyword type="function" name="weather_location_equal ()" link="libmateweather-weather.html#weather-location-equal"/> + <keyword type="enum" name="enum WeatherForecastType" link="libmateweather-weather.html#WeatherForecastType"/> + <keyword type="enum" name="enum TempUnit" link="libmateweather-weather.html#TempUnit"/> + <keyword type="enum" name="enum SpeedUnit" link="libmateweather-weather.html#SpeedUnit"/> + <keyword type="enum" name="enum PressureUnit" link="libmateweather-weather.html#PressureUnit"/> + <keyword type="enum" name="enum DistanceUnit" link="libmateweather-weather.html#DistanceUnit"/> + <keyword type="struct" name="WeatherPrefs" link="libmateweather-weather.html#WeatherPrefs"/> + <keyword type="struct" name="WeatherInfo" link="libmateweather-weather.html#WeatherInfo"/> + <keyword type="function" name="WeatherInfoFunc ()" link="libmateweather-weather.html#WeatherInfoFunc"/> + <keyword type="macro" name="weather_info_new()" link="libmateweather-weather.html#weather-info-new"/> + <keyword type="macro" name="weather_info_update()" link="libmateweather-weather.html#weather-info-update"/> + <keyword type="function" name="weather_info_abort ()" link="libmateweather-weather.html#weather-info-abort"/> + <keyword type="function" name="weather_info_clone ()" link="libmateweather-weather.html#weather-info-clone"/> + <keyword type="function" name="weather_info_free ()" link="libmateweather-weather.html#weather-info-free"/> + <keyword type="function" name="weather_info_is_valid ()" link="libmateweather-weather.html#weather-info-is-valid"/> + <keyword type="function" name="weather_info_network_error ()" link="libmateweather-weather.html#weather-info-network-error"/> + <keyword type="function" name="weather_info_to_metric ()" link="libmateweather-weather.html#weather-info-to-metric"/> + <keyword type="function" name="weather_info_to_imperial ()" link="libmateweather-weather.html#weather-info-to-imperial"/> + <keyword type="function" name="weather_info_get_location ()" link="libmateweather-weather.html#weather-info-get-location"/> + <keyword type="function" name="weather_info_get_location_name ()" link="libmateweather-weather.html#weather-info-get-location-name"/> + <keyword type="function" name="weather_info_get_update ()" link="libmateweather-weather.html#weather-info-get-update"/> + <keyword type="function" name="weather_info_get_sky ()" link="libmateweather-weather.html#weather-info-get-sky"/> + <keyword type="function" name="weather_info_get_conditions ()" link="libmateweather-weather.html#weather-info-get-conditions"/> + <keyword type="function" name="weather_info_get_temp ()" link="libmateweather-weather.html#weather-info-get-temp"/> + <keyword type="function" name="weather_info_get_temp_min ()" link="libmateweather-weather.html#weather-info-get-temp-min"/> + <keyword type="function" name="weather_info_get_temp_max ()" link="libmateweather-weather.html#weather-info-get-temp-max"/> + <keyword type="function" name="weather_info_get_dew ()" link="libmateweather-weather.html#weather-info-get-dew"/> + <keyword type="function" name="weather_info_get_humidity ()" link="libmateweather-weather.html#weather-info-get-humidity"/> + <keyword type="function" name="weather_info_get_wind ()" link="libmateweather-weather.html#weather-info-get-wind"/> + <keyword type="function" name="weather_info_get_pressure ()" link="libmateweather-weather.html#weather-info-get-pressure"/> + <keyword type="function" name="weather_info_get_visibility ()" link="libmateweather-weather.html#weather-info-get-visibility"/> + <keyword type="function" name="weather_info_get_apparent ()" link="libmateweather-weather.html#weather-info-get-apparent"/> + <keyword type="function" name="weather_info_get_sunrise ()" link="libmateweather-weather.html#weather-info-get-sunrise"/> + <keyword type="function" name="weather_info_get_sunset ()" link="libmateweather-weather.html#weather-info-get-sunset"/> + <keyword type="function" name="weather_info_get_forecast ()" link="libmateweather-weather.html#weather-info-get-forecast"/> + <keyword type="function" name="weather_info_get_forecast_list ()" link="libmateweather-weather.html#weather-info-get-forecast-list"/> + <keyword type="function" name="weather_info_get_radar ()" link="libmateweather-weather.html#weather-info-get-radar"/> + <keyword type="function" name="weather_info_get_temp_summary ()" link="libmateweather-weather.html#weather-info-get-temp-summary"/> + <keyword type="function" name="weather_info_get_weather_summary ()" link="libmateweather-weather.html#weather-info-get-weather-summary"/> + <keyword type="function" name="weather_info_get_icon_name ()" link="libmateweather-weather.html#weather-info-get-icon-name"/> + <keyword type="function" name="weather_info_next_sun_event ()" link="libmateweather-weather.html#weather-info-next-sun-event"/> + <keyword type="enum" name="enum WeatherWindDirection" link="libmateweather-weather.html#WeatherWindDirection"/> + <keyword type="enum" name="enum WeatherSky" link="libmateweather-weather.html#WeatherSky"/> + <keyword type="enum" name="enum WeatherConditionPhenomenon" link="libmateweather-weather.html#WeatherConditionPhenomenon"/> + <keyword type="enum" name="enum WeatherConditionQualifier" link="libmateweather-weather.html#WeatherConditionQualifier"/> + <keyword type="function" name="weather_info_get_value_update ()" link="libmateweather-weather.html#weather-info-get-value-update"/> + <keyword type="function" name="weather_info_get_value_sky ()" link="libmateweather-weather.html#weather-info-get-value-sky"/> + <keyword type="function" name="weather_info_get_value_conditions ()" link="libmateweather-weather.html#weather-info-get-value-conditions"/> + <keyword type="function" name="weather_info_get_value_temp ()" link="libmateweather-weather.html#weather-info-get-value-temp"/> + <keyword type="function" name="weather_info_get_value_temp_min ()" link="libmateweather-weather.html#weather-info-get-value-temp-min"/> + <keyword type="function" name="weather_info_get_value_temp_max ()" link="libmateweather-weather.html#weather-info-get-value-temp-max"/> + <keyword type="function" name="weather_info_get_value_dew ()" link="libmateweather-weather.html#weather-info-get-value-dew"/> + <keyword type="function" name="weather_info_get_value_apparent ()" link="libmateweather-weather.html#weather-info-get-value-apparent"/> + <keyword type="function" name="weather_info_get_value_wind ()" link="libmateweather-weather.html#weather-info-get-value-wind"/> + <keyword type="function" name="weather_info_get_value_pressure ()" link="libmateweather-weather.html#weather-info-get-value-pressure"/> + <keyword type="function" name="weather_info_get_value_visibility ()" link="libmateweather-weather.html#weather-info-get-value-visibility"/> + <keyword type="function" name="weather_info_get_value_sunrise ()" link="libmateweather-weather.html#weather-info-get-value-sunrise"/> + <keyword type="function" name="weather_info_get_value_sunset ()" link="libmateweather-weather.html#weather-info-get-value-sunset"/> + <keyword type="function" name="mateweather_xml_load_locations ()" link="libmateweather-mateweather-xml.html#mateweather-xml-load-locations"/> + <keyword type="struct" name="MateWeatherMateConf" link="libmateweather-mateweather-mateconf.html#MateWeatherMateConf"/> + <keyword type="function" name="mateweather_mateconf_new ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-new"/> + <keyword type="function" name="mateweather_mateconf_free ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-free"/> + <keyword type="function" name="mateweather_mateconf_get_client ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-client"/> + <keyword type="function" name="mateweather_mateconf_get_location ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-location"/> + <keyword type="function" name="mateweather_mateconf_get_full_key ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-full-key"/> + <keyword type="function" name="mateweather_mateconf_set_bool ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-bool"/> + <keyword type="function" name="mateweather_mateconf_set_int ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-int"/> + <keyword type="function" name="mateweather_mateconf_set_string ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-string"/> + <keyword type="function" name="mateweather_mateconf_get_bool ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-bool"/> + <keyword type="function" name="mateweather_mateconf_get_int ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-int"/> + <keyword type="function" name="mateweather_mateconf_get_string ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-string"/> + <keyword type="macro" name="MATECONF_TEMP_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-TEMP-UNIT:CAPS"/> + <keyword type="macro" name="MATECONF_SPEED_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-SPEED-UNIT:CAPS"/> + <keyword type="macro" name="MATECONF_PRESSURE_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-PRESSURE-UNIT:CAPS"/> + <keyword type="macro" name="MATECONF_DISTANCE_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-DISTANCE-UNIT:CAPS"/> + <keyword type="struct" name="MateWeatherPrefs" link="libmateweather-mateweather-prefs.html#MateWeatherPrefs"/> + <keyword type="function" name="mateweather_prefs_load ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-load"/> + <keyword type="function" name="mateweather_prefs_temp_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-temp-enum-to-string"/> + <keyword type="function" name="mateweather_prefs_speed_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-speed-enum-to-string"/> + <keyword type="function" name="mateweather_prefs_pressure_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-pressure-enum-to-string"/> + <keyword type="function" name="mateweather_prefs_distance_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-distance-enum-to-string"/> + <keyword type="function" name="mateweather_prefs_parse_temperature ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-temperature"/> + <keyword type="function" name="mateweather_prefs_parse_speed ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-speed"/> + <keyword type="function" name="mateweather_prefs_get_temp_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-temp-display-name"/> + <keyword type="function" name="mateweather_prefs_get_speed_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-speed-display-name"/> + <keyword type="function" name="mateweather_prefs_get_pressure_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-pressure-display-name"/> + <keyword type="function" name="mateweather_prefs_get_distance_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-distance-display-name"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_WORLD" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WORLD:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_REGION" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-REGION:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_COUNTRY" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-COUNTRY:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_ADM1" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-ADM1:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_ADM2" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-ADM2:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_CITY" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-CITY:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_WEATHER_STATION" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"/> + </functions> +</book> diff --git a/doc/html/right.png b/doc/html/right.png Binary files differnew file mode 100644 index 0000000..92832e3 --- /dev/null +++ b/doc/html/right.png diff --git a/doc/html/style.css b/doc/html/style.css new file mode 100644 index 0000000..82115eb --- /dev/null +++ b/doc/html/style.css @@ -0,0 +1,257 @@ +.synopsis, .classsynopsis +{ + /* tango:aluminium 1/2 */ + background: #eeeeec; + border: solid 1px #d3d7cf; + padding: 0.5em; +} +.programlisting +{ + /* tango:sky blue 0/1 */ + background: #e6f3ff; + border: solid 1px #729fcf; + padding: 0.5em; +} +.variablelist +{ + padding: 4px; + margin-left: 3em; +} +.variablelist td:first-child +{ + vertical-align: top; +} + +@media screen { + sup a.footnote + { + position: relative; + top: 0em ! important; + + } + /* this is needed so that the local anchors are displayed below the naviagtion */ + div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] + { + position: relative; + padding-top:4.5em; + } + /* this seems to be a bug in the xsl style sheets when generating indexes */ + div.index div.index + { + top: 0em; + } + /* make space for the fixed navigation bar and add space at the bottom so that + * link targets appear somewhat close to top + */ + body + { + padding-top: 3.2em; + padding-bottom: 20em; + } + /* style and size the navigation bar */ + table.navigation#top + { + position: fixed; + /* tango:scarlet red 0/1 */ + background: #ffe6e6; + border: solid 1px #ef2929; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 3em; + z-index: 10; + } + .navigation a, .navigation a:visited + { + /* tango:scarlet red 3 */ + color: #a40000; + } + .navigation a:hover + { + /* tango:scarlet red 1 */ + color: #ef2929; + } + td.shortcuts + { + /* tango:scarlet red 1 */ + color: #ef2929; + font-size: 80%; + white-space: nowrap; + } +} +@media print { + table.navigation { + visibility: collapse; + display: none; + } + div.titlepage table.navigation { + visibility: visible; + display: table; + /* tango:scarlet red 0/1 */ + background: #ffe6e6; + border: solid 1px #ef2929; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 3em; + } +} + +.navigation .title +{ + font-size: 200%; +} + +div.gallery-float +{ + float: left; + padding: 10px; +} +div.gallery-float img +{ + border-style: none; +} +div.gallery-spacer +{ + clear: both; +} + +a, a:visited +{ + text-decoration: none; + /* tango:sky blue 2 */ + color: #3465a4; +} +a:hover +{ + text-decoration: underline; + /* tango:sky blue 1 */ + color: #729fcf; +} + +div.table table +{ + border-collapse: collapse; + border-spacing: 0px; + /* tango:aluminium 3 */ + border: solid 1px #babdb6; +} + +div.table table td, div.table table th +{ + /* tango:aluminium 3 */ + border: solid 1px #babdb6; + padding: 3px; + vertical-align: top; +} + +div.table table th +{ + /* tango:aluminium 2 */ + background-color: #d3d7cf; +} + +hr +{ + /* tango:aluminium 3 */ + color: #babdb6; + background: #babdb6; + border: none 0px; + height: 1px; + clear: both; +} + +.footer +{ + padding-top: 3.5em; + /* tango:aluminium 3 */ + color: #babdb6; + text-align: center; + font-size: 80%; +} + +.warning +{ + /* tango:orange 0/1 */ + background: #ffeed9; + border-color: #ffb04f; +} +.note +{ + /* tango:chameleon 0/0.5 */ + background: #d8ffb2; + border-color: #abf562; +} +.note, .warning +{ + padding: 0.5em; + border-width: 1px; + border-style: solid; +} +.note h3, .warning h3 +{ + margin-top: 0.0em +} +.note p, .warning p +{ + margin-bottom: 0.0em +} + +/* blob links */ +h2 .extralinks, h3 .extralinks +{ + float: right; + /* tango:aluminium 3 */ + color: #babdb6; + font-size: 80%; + font-weight: normal; +} + +/* code listings */ + +.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ +.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ +.listing_code .programlisting .function { color: #000000; font-weight: bold; } +.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ +.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ +.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ +.listing_code .programlisting .normal { color: #000000; } +.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ +.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ +.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ +.listing_code .programlisting .type { color: #000000; } +.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ +.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ + +.listing_frame { + /* tango:sky blue 1 */ + border: solid 1px #729fcf; + padding: 0px; +} + +.listing_lines, .listing_code { + margin-top: 0px; + margin-bottom: 0px; + padding: 0.5em; +} +.listing_lines { + /* tango:sky blue 0.5 */ + background: #a6c5e3; + /* tango:aluminium 6 */ + color: #2e3436; +} +.listing_code { + /* tango:sky blue 0 */ + background: #e6f3ff; +} +.listing_code .programlisting { + /* override from previous */ + border: none 0px; + padding: 0px; +} +.listing_lines pre, .listing_code pre { + margin: 0px; +} + diff --git a/doc/html/up.png b/doc/html/up.png Binary files differnew file mode 100644 index 0000000..85b3e2a --- /dev/null +++ b/doc/html/up.png |