]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
* gcc does not like missing characters in keywords
[lyx.git] / src / MenuBackend.h
index 815f2669a82f5572252ada599684c9f3619720f7..c9f3e8de01e769dfb2f7e4b5414bd061eec980a1 100644 (file)
@@ -19,6 +19,7 @@
 #include <boost/shared_ptr.hpp>
 
 #include <vector>
+#include <stack>
 
 
 namespace lyx {
@@ -66,6 +67,9 @@ public:
                /** 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,
@@ -188,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;