X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfloat.h;h=42288867165ea0d8c375c0be49d8714023439b36;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=63fcf57dd84eceeaa44a03c24e2d083719d65b6c;hpb=4441ee63038a2a27c77dabb30f27940fa58275aa;p=lyx.git diff --git a/src/insets/insetfloat.h b/src/insets/insetfloat.h index 63fcf57dd8..4228886716 100644 --- a/src/insets/insetfloat.h +++ b/src/insets/insetfloat.h @@ -17,6 +17,7 @@ #endif #include "insetcollapsable.h" +#include class Painter; @@ -28,25 +29,27 @@ public: /// InsetFloat(string const &); /// - void Write(Buffer const * buf, std::ostream & os) const; + InsetFloat(InsetFloat const &, bool same_id = false); /// - void Read(Buffer const * buf, LyXLex & lex); + ~InsetFloat(); /// - void Validate(LaTeXFeatures & features) const; + void write(Buffer const * buf, std::ostream & os) const; /// - Inset * Clone(Buffer const &) const; + void read(Buffer const * buf, LyXLex & lex); /// - Inset::Code LyxCode() const { return Inset::FLOAT_CODE; } + void validate(LaTeXFeatures & features) const; /// - int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; + Inset * clone(Buffer const &, bool same_id = false) const; /// - int DocBook(Buffer const *, std::ostream &) const; + Inset::Code lyxCode() const { return Inset::FLOAT_CODE; } /// - string const EditMessage() const; + int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; /// - bool InsertInsetAllowed(Inset * inset) const; + int docbook(Buffer const *, std::ostream &) const; /// - void InsetButtonRelease(BufferView * bv, int x, int y, int button); + string const editMessage() const; + /// + bool insetAllowed(Inset::Code) const; /// string const & type() const; /// @@ -57,6 +60,10 @@ public: void wide(bool w); /// bool wide() const; + /// + bool showInsetDialog(BufferView *) const; + /// + SigC::Signal0 hideDialog; private: /// string floatType_;