Abdelrazak Younes wrote:
Hello,
This patch introduces frontends/Application.[Ch] and makes
qt4/GuiApplication (renamed from qt4/Application) derive from it.
Most of the code in qt4/lyx_gui.C has been transferred either to
Application or to qt4/GuiApplication.
Application handles unique instances of LyXFunc, LyXServer and
LyXServerSocket.
Most of qt3 and gtk should stay compilable except for LyXView.h because
the LyXFunc instance has been transferred to Application.
I need volunteers for gtk and qt3. If nobody steps up, there are two
solutions:
1) I put an "#ifdef QT4" or something in LyXView.h so that I can commit.
I will have then to wait for some potential volunteer to do the other
frontend cleanups before doing some more (see below).
2) I just commit and continue my cleanup work. This includes:
If there's no objection then I will proceed to 2) at the end of the day.
Abdel.