#include <boost/shared_ptr.hpp>
#include <vector>
+#include <stack>
namespace lyx {
/** This is the list of user-configurable
insets to insert into document */
Custom,
+ /** This is the list of XML elements to
+ insert into the document */
+ Elements,
/** This is the list of floats that we can
insert a list for. */
FloatListInsert,
// 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;