Jean-Marc Lasgouttes
Tue, 09 Feb 2010 02:29:37 -0800
Manoj Rajagopalan <rma...@umich.edu> writes: > Re-sending. I am trying to understand the LyX flow of control. Appreciate > any help. Apologies for the duplicate.
Sorry, I planned to answer but did not find the time. > These classes seem to be related. Could someone help me understand what > each does and how they are related? IIUC, both are meant to be singletons > which help with translating user inputs and commands into FuncRequest > instances that cause the update of the document or LyX application state. How > do these two interact and why do we need to distinguish these two? LyXAction is the dictionary of known LyX functions, with their names and properties (together with FuncCode.h for the enums). LyXFunc contains the basic mechanism to execute these functions. It should soon become a variable-less class, and part of its contents will be moved somewhere else. This is in flux currently. FuncRequest is the object that describes the action one wants to execute. FuncStatus describes the result of the action, in particular the updates that need to happen. Is this description clear? JMarc