]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloat.h
prepare for 1.1.6pre2
[lyx.git] / src / insets / insetfloat.h
index 997c99f73a695fdd40bea3649e4b0fcd4d6fe402..6f28d4caed7cf53611ddbdfe2f4f3f804c519d23 100644 (file)
@@ -26,10 +26,7 @@ class Painter;
 class InsetFloat : public InsetCollapsable {
 public:
        ///
-       explicit
-       InsetFloat();
-       ///
-       ~InsetFloat() {}
+       InsetFloat(string const &);
        ///
        void Write(Buffer const * buf, std::ostream & os) const;
        ///
@@ -37,26 +34,30 @@ public:
        ///
        void Validate(LaTeXFeatures & features) const;
        ///
-       Inset * Clone() const;
+       Inset * Clone(Buffer const &) const;
        ///
        Inset::Code LyxCode() const { return Inset::FLOAT_CODE; }
        ///
        int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
        ///
-       const char * EditMessage() const;
-       ///
-       bool InsertInset(BufferView *, Inset * inset);
+       string const EditMessage() const;
        ///
        bool InsertInsetAllowed(Inset * inset) const;
        ///
-//     LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
-       ///
        void InsetButtonRelease(BufferView * bv, int x, int y, int button);
+       ///
+       string const & type() const;
+       ///
+       void wide(bool w);
+       ///
+       bool wide() const;
 private:
        ///
        string floatType;
        ///
        string floatPlacement;
+       ///
+       bool wide_;
 };
 
 #endif