]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Application.h
Implementation of the conclusion of the "LyX/Mac 1.6 -- Window issues" thread:
[lyx.git] / src / frontends / Application.h
index ebb98e9aff8f9237ec15632d81e530c3361bf875..ab08ace6189e0851aa2484f247353ca4e95ca6be 100644 (file)
@@ -29,7 +29,6 @@ class FuncRequest;
 class FuncStatus;
 class Inset;
 class Lexer;
-class MenuBackend;
 struct RGBColor;
 
 namespace frontend {
@@ -220,6 +219,11 @@ public:
        */
        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)
@@ -233,10 +237,6 @@ public:
        */
        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;
 };