]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
minimal effort implementation of:
[lyx.git] / src / MenuBackend.h
index 20e34f0fde06aa0a828ad01d721ce0dfab8897a1..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(); }
        ///