]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.h
BufferParams.cpp: fix bug 3568:
[lyx.git] / src / TocBackend.h
index aa73a68e5ba674b731ba2b427b9137e06e4aa0d0..38d638ffedeff6531403365175b4925ae0422f60 100644 (file)
@@ -20,7 +20,7 @@
 #include <vector>
 #include <string>
 
-#include "pariterator.h"
+#include "ParIterator.h"
 
 #include "support/docstream.h"
 
@@ -28,9 +28,7 @@
 namespace lyx {
 
 class Buffer;
-class Paragraph;
 class FuncRequest;
-class LCursor;
 
 ///
 /**
@@ -96,8 +94,6 @@ public:
        void setBuffer(Buffer const * buffer)
        { buffer_ = buffer; }
        ///
-       bool addType(std::string const & type);
-       ///
        void update();
        ///
        void updateItem(ParConstIterator const & pit);
@@ -105,9 +101,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 +113,6 @@ private:
        /// 
        TocList tocs_;
        ///
-       std::vector<std::string> types_;
-       ///
        Buffer const * buffer_;
 
 }; // TocBackend