]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Application.h
Compil fix.
[lyx.git] / src / frontends / Application.h
index 0cc2ed00f69eef03e37bcfa262035469e4d083a3..896ae71c2bd775b5f96b229fc5812110ee0c915e 100644 (file)
@@ -14,7 +14,6 @@
 #include "ColorCode.h"
 
 #include "support/strfwd.h"
-#include "support/docstring.h"
 
 #include <boost/function.hpp>
 
@@ -25,6 +24,7 @@ namespace lyx {
 
 class BufferView;
 class Buffer;
+class docstring_list;
 class FuncRequest;
 class FuncStatus;
 class Inset;
@@ -169,7 +169,7 @@ public:
        virtual ~Application() {}
 
        ///
-       virtual FuncStatus getStatus(FuncRequest const & cmd) = 0;
+       virtual bool getStatus(FuncRequest const & cmd, FuncStatus & flag) const = 0;
        /// dispatch command.
        /// \return true if the \c FuncRequest has been dispatched.
        virtual bool dispatch(FuncRequest const & cmd) = 0;
@@ -208,17 +208,7 @@ public:
        *      passing Color_white returns "ffffff".
        */
        virtual std::string const hexName(ColorCode col) = 0;
-
-       /**
-       * update an altered GUI color
-       */
-       virtual void updateColor(ColorCode col) = 0;
-
-       /**
-       * read and create the menu structure
-       */
-       virtual void readMenus(Lexer & lex) = 0;
-
+       
        /**
        * add a callback for socket read notification
        * @param fd socket descriptor (file/socket/etc)
@@ -233,13 +223,14 @@ public:
        virtual void unregisterSocketCallback(int fd) = 0;
 
        virtual bool searchMenu(FuncRequest const & func,
-               std::vector<docstring> & names) const = 0;
+               docstring_list & names) const = 0;
 };
 
 } // namespace frontend
 
 frontend::Application * theApp();
 frontend::Application * createApplication(int & argc, char * argv[]);
+void hideDialogs(std::string const & name, Inset * inset);
 
 } // namespace lyx