]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
Make InsetSpecialChar names more consistent
[lyx.git] / src / LyX.h
index af43edc2d0bc039d125d6ce3d1aca043f4ed844a..ccce7a31549bf1f1099a9db0944f8bc1d4ea87f9 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
@@ -60,8 +60,8 @@ class Application;
 
 /// initial startup
 class LyX {
+       friend class LyXConsoleApp;
 public:
-
        LyX();
        ~LyX();
 
@@ -85,6 +85,9 @@ private:
        */
        int init(int & argc, char * argv[]);
 
+       /// Execute commandline commands if no GUI was requested.
+       int execWithoutGui(int & argc, char * argv[]);
+
        /// Execute batch commands if available.
        void execCommands();
 
@@ -144,7 +147,7 @@ private:
        friend Messages const & getGuiMessages();
        friend KeyMap & theTopLevelKeymap();
        friend Movers & theMovers();
-       friend Mover const & getMover(std::string  const & fmt);
+       friend Mover const & getMover(std::string const & fmt);
        friend void setMover(std::string const & fmt, std::string const & command);
        friend Movers & theSystemMovers();
        friend frontend::Application * theApp();
@@ -180,4 +183,3 @@ void dispatch(FuncRequest const & action, DispatchResult & dr);
 } // namespace lyx
 
 #endif // LYX_H
-