]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Application.h
Fix the messaging after an autosave
[lyx.git] / src / frontends / Application.h
index 5e1a12cdca33b1a0b835effa94ec519b8bc21c5c..c12d8a938d301c8e0794d2676fdd0fc6f2b0d375 100644 (file)
@@ -185,14 +185,9 @@ public:
        ///
        virtual FuncStatus getStatus(FuncRequest const & cmd) const = 0;
 
-       ///
-       virtual void resetGui() = 0;
-
        /// Load files and restore GUI Session.
        virtual void restoreGuiSession() = 0;
 
-       ///
-       virtual void hideDialogs(std::string const & name, Inset * inset) const = 0;
        ///
        virtual Buffer const * updateInset(Inset const * inset) const = 0;
 
@@ -214,6 +209,8 @@ public:
        * It returns false on failure and sets r, g, b to 0.
        */
        virtual bool getRgbColor(ColorCode col, RGBColor & rgbcol) = 0;
+       /// Like getRgbColor(), but static and slower
+       static bool getRgbColorUncached(ColorCode col, RGBColor & rgbcol);
 
        /** Eg, passing Color_black returns "000000",
        *      passing Color_white returns "ffffff".
@@ -237,7 +234,7 @@ public:
                docstring_list & names) const = 0;
 
        /// \return the icon file name for the given action.
-       virtual docstring iconName(FuncRequest const & f, bool unknown) = 0;
+       static docstring iconName(FuncRequest const & f, bool unknown);
 
        /// Handle a accented char key sequence
        /// FIXME: this is only needed for LFUN_ACCENT_* in Text::dispatch()