<div dir="ltr">Well i think this has been the first constructive message in the discussion.<br><br><div class="gmail_quote">On Thu, Aug 7, 2008 at 1:14 PM, Alexander Dymo <span dir="ltr"><<a href="mailto:dymo@ukrpost.ua">dymo@ukrpost.ua</a>></span> wrote:<br>
<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">On Tuesday 05 August 2008 05:18:56 Aleix wrote:<br>
> Hi list!<br>
> As some of you know, these days I've been working on an application<br>
> using kdevplatform (more precisely the duchain).<br>
><br>
> As you might imagine, I don't need a UI application for that, so I've<br>
> been playing with the shell to be able to instanciate it without<br>
> relying on the graphics.<br>
<br>
</div>I think we need to find another solution to run platform app without the ui.<br>
Your implementation creates two possible cases - shell with ui and shell<br>
without ui. You have the hasUI() method to check for that and use it in the<br>
shell. But now all our code _has_ to do this check as well - all our plugins,<br>
etc have to check hasUI() before they call core()->uiController()-<br>
>something(). This is IMHO not acceptable.</blockquote><div>I agree, (note: it has been changed to setupFlags, but it is the same more or less)<br><br>The other solution would be to have a ui less shell, but I think it would be a bit of a mess since we would need then to have the double of plugins (if i am correct), one for each shell which is not a good idea either.<br>
<br>But anyway my idea was to leverage the more possible the shell when working without UI.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
I think the easiest way would be to just run the application without showing<br>
the mainwindow.<br>
<div><div></div><div class="Wj3C7c"></div></div></blockquote><div>Shouldn't this be the last chance? <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</div></div></blockquote></div><br>Thanks,<br>Aleix<br></div>