Abdelrazak Younes wrote: > Georg Baum wrote: >> Abdelrazak Younes wrote: >> >>> OK. The fix is simple. As you know the Application instance is not >>> created when the export command-line feature is requested. This patch >>> fixes the crash and goes in soon. >> >> So it is not possible to use the server in commandline mode? I am not >> sure whether this is good. > > Hum, now you talk about it... I have already transfered the BufferList > to the LyX class. I can as well transfer the LyXFunc, the LyXServer and > the LyXServerSocket.
I don't have a good overview over this stuff an therefore no strong opinion. > This way Application will be reserved to frontend matters exclusively. > Application could then be renamed to Frontend I guess. > > What do you think? I don't think that we should have a Frontend. I would rather like to always have an Application. I thought you already did that? I am sure that there are more places where theApp is accesssed wher theApp actually could be 0. When we now have no Application object we would have a NoGuiApplication that would implement the interface of Application. Those methods that would not make sense (e.g. clipboard access) would either be noops or could throw an exception. Georg
