]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
citation patch from Angus
[lyx.git] / src / MenuBackend.h
index 29e004bf98e2708ba03f4d79c444ec028b4de825..d0a3e1e8dd5ce80f37aab63afc24e11ce1bbe710 100644 (file)
@@ -40,7 +40,20 @@ public:
                Lastfiles,
                /** This is the list of opened Documents,
                    typically for the Documents menu. */
-               Documents
+               Documents,
+               ///
+               Toc,
+               ///
+               References,
+               /** This is a list of viewable formats
+                   typically for the Documents menu. */
+               ViewFormats,
+               /** This is a list of updatable formats
+                   typically for the Documents menu. */
+               UpdateFormats,
+               /** This is a list of exportable formats
+                   typically for the Documents menu. */
+               ExportFormats
        };
        /// Create a Command type MenuItem
        MenuItem(Kind kind, 
@@ -93,6 +106,8 @@ public:
        string const & name() const { return name_; }
        ///
        bool empty() const { return items_.empty(); }
+       ///
+       ItemList::size_type size() const { return items_.size(); }
         ///
         const_iterator begin() const {
                 return items_.begin();