]> git.lyx.org Git - features.git/commit
This commits cuts down LyX::exec2 into two new methods (execBatchCommands() and resto...
authorAbdelrazak Younes <younes@lyx.org>
Tue, 17 Oct 2006 08:36:04 +0000 (08:36 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 17 Oct 2006 08:36:04 +0000 (08:36 +0000)
commitfb1ffecd0c3b07939dcb8af50af71ef3ba0b1d02
tree397abfdee1e81a8175b8d92638b94b01cb9f003b
parenta41bb78a0e9d51d90e1eb923a02757bdc41c5486
This commits cuts down LyX::exec2 into two new methods (execBatchCommands() and restoreGuiSession()) and introduce a number of helper private function to sanitize the initialization and exit process; quitLyx() is replaced with LyX::quit(). The Application starting and reset is done directly in priv_exec().

* lyx_cb.[Ch]: delete quitLyX()

* lyx_main.[Ch]
  - lyx_exit(): moved to LyX::earlyExit()
  - prepareExit(), quit(), earlyExit(), execBatchCommands(), initGuiFont(): new LyX methods.
  - LyX::priv_exec(): restructured with above helper methods.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15353 a592a061-630c-0410-9148-cb99ea01b6c8
src/lyx_cb.C
src/lyx_cb.h
src/lyx_main.C
src/lyx_main.h
src/lyxfunc.C