X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTocBackend.h;h=25b39c953876ee331e67e987a97bf1d862c965fd;hb=dbd627f5210d025bfc97ef8a94bbe90ff290c611;hp=ca69b09237331f495de21956e670b995f0e3d3c0;hpb=9092bffc32c3a9206818f82265ff9a6db4bc7fbe;p=lyx.git diff --git a/src/TocBackend.h b/src/TocBackend.h index ca69b09237..25b39c9538 100644 --- a/src/TocBackend.h +++ b/src/TocBackend.h @@ -38,16 +38,16 @@ class TocItem friend class TocBackend; public: + /// Default constructor for STL containers. + TocItem() {} /// - TocItem(ParConstIterator const & par_it = ParConstIterator(), - int d = -1, - docstring const & s = docstring() + TocItem(ParConstIterator const & par_it, + int depth, + docstring const & s ); /// ~TocItem() {} /// - bool const isValid() const; - /// int const id() const; /// int const depth() const; @@ -58,7 +58,7 @@ public: /// the action corresponding to the goTo above FuncRequest action() const; - + protected: /// Current position of item. ParConstIterator par_it_; @@ -114,7 +114,7 @@ public: void writePlaintextTocList(std::string const & type, odocstream & os) const; private: - /// + /// TocList tocs_; /// Buffer const * buffer_;