Lars Gullik Bjønnes wrote:
[EMAIL PROTECTED] writes:


| Author: younes
| Date: Thu Oct 12 16:10:13 2006
| New Revision: 15306
| | URL: http://www.lyx.org/trac/changeset/15306
| Log:
| This commit is purely mechanical and get rid of lyx_gui.[Ch].
| | Only qt4 is guaranted to compile and work. I did not remove gtk and qt3 lyx_gui.C because they might be needed for reference to complete the header declarations in "GuiApplication.C". | | - lyx_gui::use_gui transfered to lyx::use_gui in lyx_main.C

I see that use use

"extern bool use_gui"

to get access to that bool in a couple of places. Generally externs
are a maintenance nightmare.

My goal is to get rid of that altogether and make that bool private to the LyX class. All other sources should not know whether use_gui is true or false.


Can you please use a proper include to
get to the declaration instead?

If you want but this is interim code.

Abdel.




Reply via email to