Vincent van Ravesteijn - TNW wrote:
IIUC we should be careful to distinguish the application session from
the document session. The LyX application is a part of the windows/
linux/mac desktop and is handed a session manager from the desktop
overlord for clean startup and shutdown. But for named document
sessions, LyX plays the role of the overlord that should issue a
session-handle to its minion documents. My feeling is that the document
sessions have a much simpler spec than the Qt session framework and we
might be better of writing our own (simpler) classes.

Please correct me if I am wrong.

Hello Manoj,

It seems that I missed this reply, sorry about that (and thanks to Vincent for noticing it).

So, short answer, Qt session framework is really sufficient and flexible enough for all our needs, plus it is cross platform and uses native files (or register) in the proper location on all platforms. You have to see Qt session framework as a simple database; you can have code names for the sessions you are talking about, no problem about that, really. Having a simple home made class is already what we have now with the session class. But it is simple now because I removed most of the code that were present in the 1.5 days. If I had the time, I would simply kill it now. Be careful to not reproduce the same mistake.

Abdel.

PS: this mail is not to dismiss your proposal, this is just my opinion, FWIW :-)


Reply via email to