X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfloat.h;h=7992d44d6cdd7d370d08884672e8e38d3ffd5551;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=8683a76cad45edc6a82d72a44f09c882cf8b83e3;hpb=c9f9ba315c8e475ad47c64fef6c9c755dea3d55c;p=lyx.git diff --git a/src/insets/insetfloat.h b/src/insets/insetfloat.h index 8683a76cad..7992d44d6c 100644 --- a/src/insets/insetfloat.h +++ b/src/insets/insetfloat.h @@ -14,7 +14,10 @@ #define INSETFLOAT_H #include "insetcollapsable.h" -#include "toc.h" +#include "mailinset.h" + + +namespace lyx { class InsetFloatParams { @@ -54,16 +57,13 @@ public: /// InsetBase::Code lyxCode() const { return InsetBase::FLOAT_CODE; } /// - int latex(Buffer const &, std::ostream &, + int latex(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; /// - std::string const editMessage() const; + virtual docstring const editMessage() const; /// bool insetAllowed(InsetBase::Code) const; /** returns true if, when outputing LaTeX, font changes should @@ -75,11 +75,13 @@ public: /// void sideways(bool s, BufferParams const &); /// - void addToToc(lyx::toc::TocList &, Buffer const &) const; + void addToToc(TocList &, Buffer const &) const; /// bool showInsetDialog(BufferView *) const; /// InsetFloatParams const & params() const { return params_; } + /// + bool getStatus(LCursor &, FuncRequest const &, FuncStatus &) const; protected: virtual void doDispatch(LCursor & cur, FuncRequest & cmd); private: @@ -90,9 +92,6 @@ private: }; -#include "mailinset.h" - - class InsetFloatMailer : public MailInset { public: /// @@ -114,4 +113,7 @@ private: InsetFloat & inset_; }; + +} // namespace lyx + #endif