]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
simplification
[lyx.git] / src / LyX.h
index 055c3583ac07f2de9a1d690923c1af05bc2236c6..5d0cf3340c696e3e1758163aa9a5e5111002020a 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
@@ -14,7 +14,7 @@
 #ifndef LYX_H
 #define LYX_H
 
-#include <string>
+#include "support/strfwd.h"
 
 namespace lyx {
 
@@ -101,13 +101,6 @@ public:
        ///
        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 * updateInset(Inset const *) const;
-
-       void hideDialogs(std::string const & name, Inset * inset) const;
-
        /// Execute batch commands if available.
        void execBatchCommands();
 
@@ -140,9 +133,6 @@ private:
        /// Create a View, load files and restore GUI Session.
        void restoreGuiSession();
 
-       /// Initialize RC font for the GUI.
-       void initGuiFont();
-
        /// initial LyX set up
        bool init();
        /// set up the default dead key bindings if requested
@@ -170,14 +160,13 @@ private:
        /// shows up a parsing error on screen
        void printError(ErrorItem const &);
 
+       /// Use the Pimpl idiom to hide the internals.
+       // Mostly used for singletons.
+       struct Impl;
+       Impl * pimpl_;
+
        /// has this user started lyx for the first time?
        bool first_start;
-       /// the parsed command line batch command if any
-       std::string batch_command;
-
-       /// Use the Pimpl idiom to hide the internals.
-       struct Singletons;
-       Singletons * pimpl_;
 
        friend Movers & theMovers();
        friend Mover const & getMover(std::string  const & fmt);