]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloat.h
prepare for 1.1.6pre2
[lyx.git] / src / insets / insetfloat.h
index 8669911d5e4307a4a83f1106329f6cb4c29b5de2..6f28d4caed7cf53611ddbdfe2f4f3f804c519d23 100644 (file)
@@ -26,7 +26,7 @@ class Painter;
 class InsetFloat : public InsetCollapsable {
 public:
        ///
-       InsetFloat();
+       InsetFloat(string const &);
        ///
        void Write(Buffer const * buf, std::ostream & os) const;
        ///
@@ -34,24 +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;
+       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