2007/1/15, Fabrice Colin <<a href="mailto:fabrice.colin@gmail.com">fabrice.colin@gmail.com</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 1/15/07, Mikkel Kamstrup Erlandsen <<a href="mailto:mikkel.kamstrup@gmail.com">mikkel.kamstrup@gmail.com</a>> wrote:<br>> 2007/1/12, Fabrice Colin <<a href="mailto:fabrice.colin@gmail.com">fabrice.colin@gmail.com
</a>>:<br>> > - ShowConfiguration<br>> > > Open a graphical interface for configuring the search tool.<br>> > Is it safe to assume that because this method was called on the session<br>> bus
<br>> > that a graphical display is available ?<br>><br>> No you can't assume that. We could make the method return a string with an<br>> error message. The method would be considered failed if the response != "".
<br>><br>Okay.<br><br>> Errors could also arise if you don't have the toolkit installed in which the<br>> config tool was implemented.<br>><br>Well, that's very much a package dependencies issue but I get the idea.
</blockquote><div><br><br>The package installing the search daemon might not depend on, say, Qt, because the daemon could be written without it. The config ui could be bundled in a package together with a search ui, depending on Qt.
<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> You would have yo use the live api to pick up such changes in the result set.
<br>><br>Are you saying it would be possible to mix and match calls to the simple and<br>the live APIs ?<br>If an app needs to be notified about changes, let it use the live API<br>all the way.</blockquote><div><br>I didn't mean to mix the two interfaces... Sorry if I was unclear. It would be nice though if they used the same data structures and naming conventions. That way the wasabi spec as a whole would feel more coherent, and it would be easier for apps to port to the other interface if they decide their needs change.
<br><br>Cheers,<br>Mikkel<br></div></div>