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> <<a href="mailto:jhkukkon@cc.hut.fi">jhkukkon@cc.hut.fi</a>> 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>> I'd like to implement some error handling for the position backends. I'm<br>> pretty new to GError, so comments are welcome. I'm thinking different<br>> backend types are different "error domains", and this is my view on how
<br>> it should look (using position backend/"error domain" 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> GEOCLUE_POSITION_ERROR_NOSERVICE,<br> /* Backend cannot connect to needed service */<br><br> GEOCLUE_POSITION_ERROR_MALFORMEDDATA,<br> /* Received data, but it is unreadable */
<br><br> GEOCLUE_POSITION_ERROR_NODATA,<br> /* Used service cannot provide position data at this time*/<br><br> GEOCLUE_POSITION_ERROR_NOTSUPPORTED,<br> /* Backend does not implement this method */<br><br> GEOCLUE_POSITION_ERROR_FAILED
<br> /* 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>