]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_main.h
Updates from Bennett and myself.
[lyx.git] / src / lyx_main.h
index ab1619f97e7372a30b189ec50a4817141ad1ee43..a0b74578ace3540040035786ac6c08f2e9d94b60 100644 (file)
@@ -105,6 +105,9 @@ public:
         */
        Buffer const * const updateInset(InsetBase const *) const;
 
+       /// Execute batch commands if available.
+       void execBatchCommands();
+
 private:
        /// Do some cleanup in preparation of an exit.
        void prepareExit();
@@ -112,12 +115,12 @@ private:
        /// Early exit during the initialisation process.
        void earlyExit(int status);
 
-       /// Initialise LyX and execute batch commands if available.
+       /// Initialise LyX and load files if asked.
        /**
        \param files is filled in with the command-line file names.
        \return exit code failure if any.
        */
-       int execBatchCommands(int & argc, char * argv[],
+       int loadFiles(int & argc, char * argv[],
                std::vector<std::string> & files);
 
        /// Create a View and restore GUI Session.