Andre Poenitz wrote:
> On Thu, Sep 07, 2006 at 09:39:13AM +0200, Abdelrazak Younes wrote:
>>> Shouldn't there be a lyxkernel.dll and the frontend  using this?
>> The frontend virtual interface yes. The qt4 frontend will just be an 
>> implementation of this interface and could entirely be in a single dll. 
>> This way the lyx-executable would not even have to link to Qt4, only the 
>> qt4 frontend dll.
> 
> I am not sure there needs to be a virtual frontend interface at all.
> 
> In theory, ther kernel could be completely ignorant of any frontend and
> just signal internal changes.

Yes, that's the essence of being  "model".

> A frontend would directly call into the kernel to make things happen and
> adjust afterwards by listening to the signals.

And, that's the essence of being a "view".

Currently view have two views: one is the GUI and the
other is LaTeX. I would love to see this also in the code.

> IMO a common frontend base is a design mistake that puts things downside
> up: The kernel tells the frontend to draw and listen to events from the
> frontend. No good.
> 
> Andre'
> 
> 


-- 
Peter Kümmel

Reply via email to