]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
Get rid of all-insets-toggle and explain how to replace it with inset-forall.
[lyx.git] / src / LyX.h
index e9843eb39937050b3c47873c0d1808cf2480f3f7..238fe38de0c708f05ee4c8432ae6d1cc4fe2fa93 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
@@ -38,7 +38,6 @@ extern bool use_gui;
 
 namespace frontend {
 class Application;
-class LyXView;
 }
 
 namespace graphics {
@@ -55,9 +54,6 @@ public:
        /// Execute LyX.
        int exec(int & argc, char * argv[]);
 
-       ///
-       frontend::LyXView * newLyXView();
-
 private:
        /// noncopyable
        LyX(LyX const &);
@@ -127,8 +123,8 @@ private:
        friend ServerSocket & theServerSocket();
        friend Converters & theConverters();
        friend Converters & theSystemConverters();
-       friend Messages & getMessages(std::string const & language);
-       friend Messages & getGuiMessages();
+       friend Messages const & getMessages(std::string const & language);
+       friend Messages const & getGuiMessages();
        friend KeyMap & theTopLevelKeymap();
        friend Movers & theMovers();
        friend Mover const & getMover(std::string  const & fmt);
@@ -164,6 +160,9 @@ FuncStatus getStatus(FuncRequest const & action);
 ///
 void dispatch(FuncRequest const & action);
 
+///
+void dispatch(FuncRequest const & action, DispatchResult & dr);
+
 } // namespace lyx
 
 #endif // LYX_H