X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfloat.h;h=42288867165ea0d8c375c0be49d8714023439b36;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=d7ec169fbc7ba5950c6d8ecdddeadc1f6c21a054;hpb=487f6eb3b43746460d090f643cd1e39f2d93a74b;p=lyx.git diff --git a/src/insets/insetfloat.h b/src/insets/insetfloat.h index d7ec169fbc..4228886716 100644 --- a/src/insets/insetfloat.h +++ b/src/insets/insetfloat.h @@ -17,6 +17,7 @@ #endif #include "insetcollapsable.h" +#include class Painter; @@ -28,6 +29,10 @@ public: /// InsetFloat(string const &); /// + InsetFloat(InsetFloat const &, bool same_id = false); + /// + ~InsetFloat(); + /// void write(Buffer const * buf, std::ostream & os) const; /// void read(Buffer const * buf, LyXLex & lex); @@ -40,14 +45,11 @@ public: /// int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; /// - int docBook(Buffer const *, std::ostream &) const; + int docbook(Buffer const *, std::ostream &) const; /// string const editMessage() const; /// - bool insertInsetAllowed(Inset * inset) const; - bool insertInsetAllowed(Inset::Code) const; - /// - void insetButtonRelease(BufferView * bv, int x, int y, int button); + bool insetAllowed(Inset::Code) const; /// string const & type() const; /// @@ -58,6 +60,10 @@ public: void wide(bool w); /// bool wide() const; + /// + bool showInsetDialog(BufferView *) const; + /// + SigC::Signal0 hideDialog; private: /// string floatType_;