+ /// Early exit during the initialisation process.
+ void earlyExit(int status);
+
+ /// Initialise LyX and execute batch commands if available.
+ /**
+ \param files is filled in with the command-line file names.
+ \return exit code failure if any.
+ */
+ int execBatchCommands(int & argc, char * argv[],
+ std::vector<std::string> & files);
+
+ /// Create a View and restore GUI Session.
+ void restoreGuiSession(std::vector<std::string> const & files);
+
+ /// Initialize RC font for the GUI.
+ void initGuiFont();