Mailinglist Archive: yast-devel (144 mails)

< Previous Next >
Re: [yast-devel] quick fix of build failures
  • From: Stefan Hundhammer <sh@xxxxxxx>
  • Date: Wed, 20 Feb 2008 16:42:22 +0100
  • Message-id: <200802201642.22551.sh@xxxxxxx>
On Wednesday 20 February 2008 16:26, Martin Vidner wrote:
 void YUI::ensureUICreated()
 {
+    return; // quick fix[TM]

This will effectively destroy the very purpose of separating the UI from the
Y2 / YCP infrastructure: To be able to use the UI from a plain C++ program.
For that, the UI needs to be able to bootstrap itself when a client
application begins making UI calls.

I just added some code that should prevent really creating a UI in the case of
the "dummy UI", i.e., for test cases. Please test.


CU
--
Stefan Hundhammer <sh@xxxxxxx> Penguin by conviction.
YaST2 Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Nürnberg, Germany
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References