X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetwrap.h;h=bcf337d7a086d63f509008af942768785f6ee056;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=07541764652367a5496039fe2d2efeb01f4f70f3;hpb=edd81011cecb115b1dc05cc68bf5206fa0e853dd;p=lyx.git diff --git a/src/insets/insetwrap.h b/src/insets/insetwrap.h index 0754176465..bcf337d7a0 100644 --- a/src/insets/insetwrap.h +++ b/src/insets/insetwrap.h @@ -13,8 +13,11 @@ #define INSETWRAP_H #include "insetcollapsable.h" -#include "toc.h" #include "lyxlength.h" +#include "mailinset.h" + + +namespace lyx { class InsetWrapParams { @@ -50,17 +53,17 @@ public: /// InsetBase::Code lyxCode() const { return InsetBase::WRAP_CODE; } /// - int latex(Buffer const &, std::ostream &, + int latex(Buffer const &, odocstream &, OutputParams const &) const; /// - int docbook(Buffer const &, std::ostream &, + int docbook(Buffer const &, odocstream &, OutputParams const &) const; /// - virtual lyx::docstring const editMessage() const; + virtual docstring const editMessage() const; /// bool insetAllowed(InsetBase::Code) const; /// - void addToToc(lyx::toc::TocList &, Buffer const &) const; + void addToToc(TocList &, Buffer const &) const; /// bool showInsetDialog(BufferView *) const; /// @@ -78,10 +81,6 @@ private: }; - -#include "mailinset.h" - - class InsetWrapMailer : public MailInset { public: /// @@ -103,4 +102,7 @@ private: InsetWrap & inset_; }; + +} // namespace lyx + #endif