]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.h
es.po: fix a typo introduced by last commit
[lyx.git] / src / TocBackend.h
index 2668eb0643335cf04b3ddfa507a7f18f8e003a7b..cc5e4292d8108779caa8925cd5df5e433280d728 100644 (file)
@@ -55,6 +55,8 @@ enum TocType {
        NOMENCL,//"nomencl"
        LISTING,//"listings"
        FLOAT,//"figure", "table", "algorithm", user-defined (from layout?)
+       MATH_MACRO,//"math-macro"
+       EXTERNAL,//"external"
        SENSELESS,//"senseless"
        TOC_TYPE_COUNT
 }
@@ -125,6 +127,9 @@ private:
 class Toc : public std::vector<TocItem>
 {
 public:
+       // This is needed to work around a libc++ bug
+       // https://llvm.org/bugs/show_bug.cgi?id=24137
+       Toc() {}
        typedef std::vector<TocItem>::const_iterator const_iterator;
        typedef std::vector<TocItem>::iterator iterator;
        const_iterator item(DocIterator const & dit) const;
@@ -219,6 +224,8 @@ public:
        ///
        void writePlaintextTocList(std::string const & type,
                odocstringstream & os, size_t max_length) const;
+       ///
+       docstring outlinerName(std::string const & type) const;
 
 private:
        ///