]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
Fulfill promise to Andre: TextClass_ptr --> TextClassPtr.
[lyx.git] / src / LyX.h
index 0a0602e3864f98de5562a1656a32a7c94fded661..534704957ef2807887354662b257edd49b9bf589 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
@@ -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 {
@@ -83,7 +85,7 @@ public:
        ///
        KeyMap & topLevelKeymap();
        KeyMap const & topLevelKeymap() const;
-       
+
        ///
        Converters & converters();
        Converters & systemConverters();
@@ -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();
@@ -157,7 +161,7 @@ private:
        /// \param enc_name encodings definition file
        /// \param symbols_name unicode->LaTeX mapping file
        bool readEncodingsFile(std::string const & enc_name,
-                              std::string const & symbols_name);
+                              std::string const & symbols_name);
        /// parsing of non-gui LyX options.
        void easyParse(int & argc, char * argv[]);
        /// shows up a parsing error on screen