]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
adjust
[lyx.git] / src / MenuBackend.h
index bfb3833bf6eb06bbd9eeb759641afdf97170235c..c9f3e8de01e769dfb2f7e4b5414bd061eec980a1 100644 (file)
@@ -19,6 +19,7 @@
 #include <boost/shared_ptr.hpp>
 
 #include <vector>
+#include <stack>
 
 
 namespace lyx {
@@ -191,6 +192,10 @@ public:
 
        // Check whether the menu shortcuts are unique
        void checkShortcuts() const;
+       
+       // search for func in this menu iteratively, and put menu
+       // names in a stack.
+       bool searchFunc(FuncRequest & func, std::stack<docstring> & names);
 
 private:
        friend class MenuBackend;