]> git.lyx.org Git - lyx.git/blobdiff - src/insets/figinset.h
prepare for 1.1.6pre2
[lyx.git] / src / insets / figinset.h
index 8c0799cca051404425a859733d69b0baa6a8e8ca..421a0da786b8f5858806fb6aff6762199008d14b 100644 (file)
@@ -20,7 +20,7 @@ struct Figref;
 class InsetFig: public Inset {
 public:
        ///
-       InsetFig(int tmpx, int tmpy, Buffer *);
+       InsetFig(int tmpx, int tmpy, Buffer const &);
        ///
        ~InsetFig();
        ///
@@ -38,7 +38,7 @@ public:
        ///
        int Latex(Buffer const *, std::ostream &, bool fragile, bool free_space) const;
        ///
-       int Ascii(Buffer const *, std::ostream &) const;
+       int Ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
        int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
@@ -58,7 +58,7 @@ public:
        ///
        Inset::Code LyxCode() const;
        ///
-       Inset * Clone() const;
+       Inset * Clone(Buffer const &) const;
        ///
        void CallbackFig(long arg);
        ///
@@ -134,7 +134,7 @@ public:
 private:
 
        ///
-       Buffer * owner;
+       Buffer const * owner;
        /// restore values on the form
        void RestoreForm();
        /// recompute screen params