]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
Indentation change + small #ifndef NEW_INSETS fix.
[lyx.git] / src / MenuBackend.h
index 2c09e4ee48b4f265643419fb88124c581ba832b1..d21df334087a878af2a4765ccdf57a80ce3cd03d 100644 (file)
@@ -44,8 +44,6 @@ public:
                Documents,
                ///
                Toc,
-               ///
-               References,
                /** This is a list of viewable formats
                    typically for the File->View menu. */
                ViewFormats,
@@ -54,7 +52,10 @@ public:
                UpdateFormats,
                /** This is a list of exportable formats
                    typically for the File->Export menu. */
-               ExportFormats
+               ExportFormats,
+               /** This is a list of importable formats
+                   typically for the File->Export menu. */
+               ImportFormats
        };
        /// Create a Command type MenuItem
        MenuItem(Kind kind, 
@@ -124,6 +125,8 @@ public:
        bool empty() const { return items_.empty(); }
        ///
        ItemList::size_type size() const { return items_.size(); }
+       ///
+       bool hasSubmenu(string const &) const;
         ///
         const_iterator begin() const {
                 return items_.begin();
@@ -160,7 +163,7 @@ public:
        ///
        void add(Menu const &);
        ///
-       bool hasMenu (string const &) const;
+       bool hasMenu(string const &) const;
        ///
        Menu & getMenu (string const &);
        ///