/// Execute LyX.
int exec(int & argc, char * argv[]);
+ /// Try to exit LyX properly.
+ /// \p exit_code is 0 by default, if a non zero value is passed,
+ /// emergencyCleanup() will be called before exiting.
+ void exit(int exit_code = 0) const;
+
static LyX & ref();
static LyX const & cref();
///
frontend::LyXView * newLyXView();
- /** redraw \c inset in all the BufferViews in which it is currently
- * visible. If successful return a pointer to the owning Buffer.
- */
- Buffer const * updateInset(Inset const *) const;
-
- void hideDialogs(std::string const & name, Inset * inset) const;
-
/// Execute batch commands if available.
void execBatchCommands();
/// Create a View, load files and restore GUI Session.
void restoreGuiSession();
- /// Initialize RC font for the GUI.
- void initGuiFont();
-
/// initial LyX set up
bool init();
/// set up the default dead key bindings if requested