Lars Gullik Bjønnes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| Very easy right now. We are ready for that and we can compile qt3, qt4
| and gtk in the same executable if we want to. Looks like my clean up
| work have some nice side effect :-)

Yeah... but I guess that even if possible we would like to that with
an exec wrapper:

lyx --gui=qt  starts lyx-qt
lyx --gui=gtk starts lyx-gtk

Without dragging in both libs all the time.
(of course there is dlopen and dynamic linking... but that would be
overkill)

Personally, I think the frontend fits very well in a dynamic library. Being able to distribute a modified GUI dll without having to touch and distribute the core would be very nice.


| > Would selecting a frontend in such a way make the code elsewhere
| > simpler eaiser? Perhaps no need for the statics of this patch?
| | Yes, I wanted to create a Command-line application instead of this
| static trick. But then the Clipboard and Selection access doesn't make
| sense for the command-line so I opted for the simpler static trick.

? Clipboard and selection? does nogui/cli need that?

No, that's what I said.


| > (Years ago, Asger and I had a dream of a curses based frontend...
| > never had any time to pursue anything in that direction...)
| | You just to implement the virtual interface define in
| frontends/Application and you're done. Should be very easy.

No. :-) That is the hard part.

Well, the hard part is to decide what to put on screen, what to simplify, etc. Once you know that, a simple text-mode LyX editor that will only allow to modify text should not be very difficult to implement.

Abdel.

Reply via email to