class FuncStatus;
class Inset;
class Lexer;
-class MenuBackend;
struct RGBColor;
namespace frontend {
*/
virtual void readMenus(Lexer & lex) = 0;
+ /**
+ * initialize the global menubar on Mac
+ */
+ virtual void initGlobalMenu() = 0;
+
/**
* add a callback for socket read notification
* @param fd socket descriptor (file/socket/etc)
*/
virtual void unregisterSocketCallback(int fd) = 0;
- ///
- virtual MenuBackend const & menuBackend() const = 0;
- virtual MenuBackend & menuBackend() = 0;
-
virtual bool searchMenu(FuncRequest const & func,
std::vector<docstring> & names) const = 0;
};
frontend::Application * theApp();
frontend::Application * createApplication(int & argc, char * argv[]);
+void hideDialogs(std::string const & name, Inset * inset);
} // namespace lyx