]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
Typo.
[lyx.git] / src / LyX.h
index 3d98e42b8edb5100c719d27152f7e0c6e6018969..2a83af88c873b7132b79f0cc5da0ed118ed2ad1b 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
@@ -91,7 +91,7 @@ public:
        ///
        Messages & getGuiMessages();
        ///
-       void setGuiLanguage(std::string const & language);
+       void setRcGuiLanguage();
 
        ///
        frontend::LyXView * newLyXView();
@@ -99,9 +99,6 @@ public:
        /// Execute batch commands if available.
        void execBatchCommands();
 
-       ///
-       void addFileToLoad(std::string const &);
-
 private:
        /// noncopyable
        LyX(LyX const &);
@@ -120,10 +117,11 @@ private:
        int init(int & argc, char * argv[]);
 
        /// Load files passed at command-line.
+       /// return true on success false if we encounter an error
        /**
        This method is used only in non-GUI mode.
        */
-       void loadFiles();
+       bool loadFiles();
 
        /// initial LyX set up
        bool init();
@@ -136,8 +134,6 @@ private:
        bool queryUserLyXDir(bool explicit_userdir);
        /// read lyxrc/preferences
        bool readRcFile(std::string const & name);
-       /// read the given ui (menu/toolbar) file
-       bool readUIFile(std::string const & name, bool include = false);
        /// read the given languages file
        bool readLanguagesFile(std::string const & name);
        /// read the encodings.