Abdelrazak Younes <[email protected]> writes:
> As far as dispatch is concerned, my goal was to make
> GuiApp::dispatch() the first entry in the dispatch machinery instead
> of LyXFunc::dispatch() which should basically disappear... At the end,
> all the virtual interface in "src/frontend/" should disappear too.

I could not care less about where is the main entry point as long as
there is a main entry point and everybody is not directly invoking
individual dispatch function.

About putting it in GuiApp, why not, although most of the code there is
non-gui code. What could/should probably move is the default: case of
the big switch. 

Note that, with my latest changes, LyXFunc only has two member variables
left (those for saving cursor x/y). I would propose to move these
variables into Cursor (savedX, savedY). Would somebody object to that?

Then there would not be a LyXFunc object anymore, but functions (or
static members).

JMarc

Reply via email to