]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
citation patch from Angus
[lyx.git] / src / MenuBackend.h
index c5621a3c39f4215ee2fb8c80ae78685422ce3546..d0a3e1e8dd5ce80f37aab63afc24e11ce1bbe710 100644 (file)
@@ -41,6 +41,10 @@ public:
                /** This is the list of opened Documents,
                    typically for the Documents menu. */
                Documents,
+               ///
+               Toc,
+               ///
+               References,
                /** This is a list of viewable formats
                    typically for the Documents menu. */
                ViewFormats,
@@ -102,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();