]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
adjust
[lyx.git] / src / LyX.h
index efd82fd83f2809c0fbfbb5d3b8c23560b04f4f5b..8347dba478aa85efb2db5ac265d9e267cea9fa00 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
@@ -15,7 +15,7 @@
 #define LYX_H
 
 #include <boost/scoped_ptr.hpp>
-#include <boost/utility.hpp>
+#include <boost/noncopyable.hpp>
 
 #include <string>
 
@@ -33,7 +33,6 @@ class Inset;
 class LyXFunc;
 class Server;
 class ServerSocket;
-class LyXView;
 class Messages;
 class Mover;
 class Movers;
@@ -42,7 +41,10 @@ class KeyMap;
 
 extern bool use_gui;
 
-namespace frontend { class Application; }
+namespace frontend {
+class Application;
+class LyXView;
+}
 
 /// initial startup
 class LyX : boost::noncopyable {
@@ -96,12 +98,14 @@ public:
        void setGuiLanguage(std::string const & language);
 
        ///
-       LyXView * newLyXView();
+       frontend::LyXView * newLyXView();
 
        /** redraw \c inset in all the BufferViews in which it is currently
         *  visible. If successful return a pointer to the owning Buffer.
         */
-       Buffer const * const updateInset(Inset const *) const;
+       Buffer const * updateInset(Inset const *) const;
+
+       void hideDialogs(std::string const & name, Inset * inset) const;
 
        /// Execute batch commands if available.
        void execBatchCommands();