X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsettoc.h;h=73bf1b67d32972a0109c97fc63a5c3f7988e4314;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=c30cf2f777e01f17cdfa9c5c27a5b39ba0cc8d40;hpb=686f1e276f013e2dc56e3025798c7131bef173f5;p=lyx.git diff --git a/src/insets/insettoc.h b/src/insets/insettoc.h index c30cf2f777..73bf1b67d3 100644 --- a/src/insets/insettoc.h +++ b/src/insets/insettoc.h @@ -15,13 +15,16 @@ #include "insetcommand.h" +namespace lyx { + + /// Used to insert table of contents and similar lists class InsetTOC : public InsetCommand { public: /// explicit InsetTOC(InsetCommandParams const &); /// - std::string const getScreenLabel(Buffer const &) const; + docstring const getScreenLabel(Buffer const &) const; /// EDITABLE editable() const { return IS_EDITABLE; } /// @@ -29,16 +32,16 @@ public: /// bool display() const { return true; } /// - int plaintext(Buffer const &, std::ostream &, + int plaintext(Buffer const &, odocstream &, OutputParams const &) const; /// - int linuxdoc(Buffer const &, std::ostream &, - OutputParams const &) const; - /// - int docbook(Buffer const &, std::ostream &, + int docbook(Buffer const &, odocstream &, OutputParams const &) const; private: virtual std::auto_ptr doClone() const; }; + +} // namespace lyx + #endif