Hi Martin,<div><br></div><div>Attached is my core.sip, I don&#39;t think there is anything wrong with it as I just copied the line above and changed the name to qgsgpsdectector.sip</div><div><br></div><div>I was going to post a ticket but I thought I might give it a go first.  I picked the GPS ones because they looked pretty good in terms of API layout, as I didn&#39;t want to rearrange to much.</div>

<div><br></div><div>- Nathan<br><br><div class="gmail_quote">On Tue, Jan 4, 2011 at 6:45 AM, Martin Dobias <span dir="ltr">&lt;<a href="http://wonder.sk">wonder.sk</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Nathan<br>
<div class="im"><br>
On Mon, Jan 3, 2011 at 11:19 AM, Nathan Woodrow &lt;<a href="mailto:madmanwoo@gmail.com">madmanwoo@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt; I thought this would be a relatively easy thing to do but I seem to be<br>
&gt; failing somewhere.<br>
<br>
</div>well, usually it&#39;s simple, though many times sip doesn&#39;t report errors<br>
in a friendly way, so it&#39;s easy to get stuck.<br>
<div class="im"><br>
&gt; I&#39;m having some trouble creating a new sip file to expose the GPS stuff to<br>
&gt; python.  I have made a sip file to wrap the GPS detector and added it the<br>
&gt; core.sip via %Include qgsgpsdetector.sip but I get a error when running<br>
&gt; Make. My qgsgpsdetector.sip and the make error can be found here<br>
&gt; <a href="http://osgeo.codepad.org/kS63mqND" target="_blank">http://osgeo.codepad.org/kS63mqND</a><br>
&gt; Anyone know what I might be doing wrong?<br>
<br>
</div>Hmm, looks like you&#39;ve made a syntax error in the python/core/core.sip<br>
file... I would have to see that one.<br>
<br>
Generally the easiest way how to get more classes wrapped is to tell me :-)<br>
Before wrapping the class I usually try to go through API of the class<br>
and improve it slightly if the class is not very python friendly.<br>
<font color="#888888"><br>
Martin<br>
</font></blockquote></div><br></div>