]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
Forgot to add this files.
[lyx.git] / src / MenuBackend.h
index b434e885f8d10a791fd2455cc3698c0833f4c946..29e004bf98e2708ba03f4d79c444ec028b4de825 100644 (file)
@@ -86,7 +86,7 @@ public:
        ///
        Menu & add(MenuItem const &);
        ///
-       void read(LyXLex &);
+       Menu & read(LyXLex &);
        /// 
        bool menubar() const { return menubar_; }
        /// 
@@ -108,7 +108,6 @@ private:
        bool menubar_;
        ///
        string name_;
-       ///
 };
 
 
@@ -128,6 +127,8 @@ public:
        ///
        bool hasMenu (string const &) const;
        ///
+       Menu & getMenu (string const &);
+       ///
        Menu const & getMenu (string const &) const;
        //
        bool empty() const { return menulist_.empty(); }