]> git.lyx.org Git - features.git/blobdiff - src/TocBackend.h
Cleanup of the Toc model and controller: The objective is to let the View (TocWidget...
[features.git] / src / TocBackend.h
index aa73a68e5ba674b731ba2b427b9137e06e4aa0d0..ba8f9f8f385a4298763400acc57b45fd5a4baa5f 100644 (file)
@@ -96,8 +96,6 @@ public:
        void setBuffer(Buffer const * buffer)
        { buffer_ = buffer; }
        ///
-       bool addType(std::string const & type);
-       ///
        void update();
        ///
        void updateItem(ParConstIterator const & pit);
@@ -105,9 +103,7 @@ public:
        ///
        TocList const & tocs() const
        { return tocs_; }
-       ///
-       std::vector<std::string> const & types() const
-       { return types_; }
+
        ///
        Toc const & toc(std::string const & type) const;
        /// Return the first Toc Item before the cursor
@@ -119,8 +115,6 @@ private:
        /// 
        TocList tocs_;
        ///
-       std::vector<std::string> types_;
-       ///
        Buffer const * buffer_;
 
 }; // TocBackend