Sounds good to me.<br><br>Keith<br><br><div><span class="gmail_quote">On 7/15/07, <b class="gmail_sendername">Jussi Kukkonen</b> &lt;<a href="mailto:jhkukkon@cc.hut.fi">jhkukkon@cc.hut.fi</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jussi Kukkonen wrote:<br>&gt; I&#39;d like to implement some error handling for the position backends. I&#39;m<br>&gt; pretty new to GError, so comments are welcome. I&#39;m thinking different<br>&gt; backend types are different &quot;error domains&quot;, and this is my view on how
<br>&gt; it should look (using position backend/&quot;error domain&quot; as example):<br><br>As there were no objections, I pushed the changes to fd.o git:<br><a href="http://gitweb.freedesktop.org/?p=geoclue.git;a=commit;h=82a304331a6bd6ba438de5a73a3d968189447018">
http://gitweb.freedesktop.org/?p=geoclue.git;a=commit;h=82a304331a6bd6ba438de5a73a3d968189447018</a><br><br>The errors and error codes are defined in<br>backend/geoclue_position_error.[ch]. Currently the list of error codes
<br>for position backends looks like this:<br><br>&nbsp;&nbsp;GEOCLUE_POSITION_ERROR_NOSERVICE,<br>&nbsp;&nbsp;&nbsp;&nbsp; /* Backend cannot connect to needed service */<br><br>&nbsp;&nbsp;GEOCLUE_POSITION_ERROR_MALFORMEDDATA,<br>&nbsp;&nbsp;&nbsp;&nbsp; /* Received data, but it is unreadable */
<br><br>&nbsp;&nbsp;GEOCLUE_POSITION_ERROR_NODATA,<br>&nbsp;&nbsp;&nbsp;&nbsp; /* Used service cannot provide position data at this time*/<br><br>&nbsp;&nbsp;GEOCLUE_POSITION_ERROR_NOTSUPPORTED,<br>&nbsp;&nbsp;&nbsp;&nbsp; /* Backend does not implement this method */<br><br>&nbsp;&nbsp;GEOCLUE_POSITION_ERROR_FAILED
<br>&nbsp;&nbsp;&nbsp;&nbsp; /* generic fatal error */<br><br>--jussi<br><br><br><br>_______________________________________________<br>GeoClue mailing list<br><a href="mailto:GeoClue@lists.freedesktop.org">GeoClue@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/geoclue">http://lists.freedesktop.org/mailman/listinfo/geoclue</a><br><br><br></blockquote></div><br>