]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
* remove various xforms relicts, in particular:
[lyx.git] / src / MenuBackend.h
index 2fe43c9cebdb497d5e6d79b306d1d970dada360d..d93101bb02f3cd114a5cb0128ef8bda78932b475 100644 (file)
@@ -153,6 +153,8 @@ public:
        std::string const & name() const { return name_; }
        ///
        bool empty() const { return items_.empty(); }
+       /// Clear the menu content.
+       void clear() { items_.clear(); }
        ///
        ItemList::size_type size() const { return items_.size(); }
        ///
@@ -190,7 +192,7 @@ public:
        ///
        typedef MenuList::iterator iterator;
        ///
-       MenuBackend::MenuBackend() : specialmenu_(0) {}
+       MenuBackend() : specialmenu_(0) {}
        ///
        void read(LyXLex &);
        ///