]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
Angus insetindex patch + protect patch from Dekel
[lyx.git] / src / MenuBackend.h
index b434e885f8d10a791fd2455cc3698c0833f4c946..161d9283dfb6c66e97d59c13985d254c01ba7966 100644 (file)
@@ -86,7 +86,7 @@ public:
        ///
        Menu & add(MenuItem const &);
        ///
-       void read(LyXLex &);
+       Menu & read(LyXLex &);
        /// 
        bool menubar() const { return menubar_; }
        /// 
@@ -128,6 +128,8 @@ public:
        ///
        bool hasMenu (string const &) const;
        ///
+       Menu & getMenu (string const &);
+       ///
        Menu const & getMenu (string const &) const;
        //
        bool empty() const { return menulist_.empty(); }