]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
start dissolving frontends/controllers. 40 steps to go.
[lyx.git] / src / MenuBackend.h
index 9ec013d278480b607d671fa33927ec18261597bd..bfb3833bf6eb06bbd9eeb759641afdf97170235c 100644 (file)
@@ -23,7 +23,7 @@
 
 namespace lyx {
 
-class LyXLex;
+class Lexer;
 class Buffer;
 class Menu;
 
@@ -63,6 +63,12 @@ public:
                /** This is the list of elements available
                 * for insertion into document. */
                CharStyles,
+               /** 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,
@@ -111,7 +117,7 @@ public:
        /// returns the status of the lfun associated with this entry
        void status(FuncStatus const & status) { status_ = status; }
        /**
-        * returns the binding associated to this action.        
+        * returns the binding associated to this action.
         * Use the native UI format when \c forgui is true.
         */
        docstring const binding(bool forgui) const;
@@ -161,7 +167,7 @@ public:
        /// menu item.
        Menu & addWithStatusCheck(MenuItem const &);
        ///
-       Menu & read(LyXLex &);
+       Menu & read(Lexer &);
        ///
        docstring const & name() const { return name_; }
        ///
@@ -207,7 +213,7 @@ public:
        ///
        MenuBackend() {}
        ///
-       void read(LyXLex &);
+       void read(Lexer &);
        ///
        void add(Menu const &);
        ///