]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
Dekels tabular/textinset patches
[lyx.git] / src / MenuBackend.h
index 2c09e4ee48b4f265643419fb88124c581ba832b1..192c45d5c4e9f03f771f830539a3003a352cd67d 100644 (file)
@@ -54,7 +54,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 +127,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 +165,7 @@ public:
        ///
        void add(Menu const &);
        ///
-       bool hasMenu (string const &) const;
+       bool hasMenu(string const &) const;
        ///
        Menu & getMenu (string const &);
        ///