>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> I really think that this code has nothing to do in the
Lars> "backend", imho it is part of the frontend, if it is directly in
Lars> the tk code or in the common frontend code does not concern me
Lars> as much.

You just mean that the common code should not be named "backend"?
Well, it's called MenuDesc right now, so it should be OK :)

Lars> Let's imagine a lyx-server-only port. Why should the
Lars> ToolbarBackend be present there?

Two solutions for such a port

1/ provide a dummy frontend which will not call the toolbarbackend, so
that it will be optimized out. If we are a bit clever, we do not
compile it.

2/ be more audacious and make it possible to compile this port without
Menubar, Toolbar, LyXView, LyXGUI and WorkArea. This is the good long
term solution, I guess (do we need BufferView in this (theoretical) case?)

Lars> I have no problems with this or the current code, but I have a
Lars> feeling it is in the wrong location.

Location is no problem for me, as long as we provide common support
code. The idea is that this code should be useful, but that a frontend
could choose not to use part of it.

JMarc

Reply via email to