+ /// Early exit during the initialisation process.
+ void earlyExit(int status);
+
+ /// Initialise LyX and fills-in the vector of files to be loaded.
+ /**
+ \return exit code failure if any.
+ */
+ int init(int & argc, char * argv[]);
+
+ /// Load files passed at command-line.
+ /**
+ This method is used only in non-GUI mode.
+ */
+ void loadFiles();
+
+ /// Create a View, load files and restore GUI Session.
+ void restoreGuiSession();
+
+ /// Initialize RC font for the GUI.
+ void initGuiFont();