2008/5/7 Jos van den Oever &lt;<a href="mailto:jvdoever@gmail.com">jvdoever@gmail.com</a>&gt;:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">&gt; Uhm, that was not the intention :-) The hit_ids argument is an arbitrary<br>
&gt; array of hit ids, fx, [1, 7, 28]. It is meant to make it convenient to react<br>
&gt; to HitsModified or the user selecting a collection of elements in a ui.<br>
&gt;<br>
&gt; I am open for making it sequential access though (even though this would be<br>
&gt; an API break). This would possibly result in a lot of dbus traffic if I move<br>
&gt; a dir with the Linux kernel source and the server emits HitsModified for all<br>
&gt; the files (and my app would need to call GetHitData on all affected hits -<br>
&gt; which are unlikely to have sequential ids).<br>
<br>
</div>It was my impression that all hits are numbered starting from 0. So if<br>
HitsAdded() is emitted once with value 3, I can access data for hits<br>
0, 1 and 2. Perhaps this should be clarified in the spec.<br>
<br>
Of course when calling GetHitdata, you can pass e.g. (2,0,1).<br>
</blockquote><div><br>Ah, good. Then you are right. I am just trying to confuse you ;-)<br><br>Cheers,<br>Mikkel<br></div></div><br>