]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFootlike.h
Require a buffer on construction of InsetGraphics and InsetExternal. Eventually,...
[lyx.git] / src / insets / InsetFootlike.h
index bc1ce1ab9185f0c4f3112983b87af5ce46f546ea..20477a0099b2225a1d914cca2ab34325bccf3fd9 100644 (file)
@@ -23,17 +23,16 @@ namespace lyx {
 class InsetFootlike : public InsetCollapsable {
 public:
        ///
-       InsetFootlike(BufferParams const &);
+       InsetFootlike(Buffer const &);
+private:
        ///
-       InsetFootlike(InsetFootlike const &);
-       ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       void write(Buffer const & buf, std::ostream & os) const;
+       void write(std::ostream & os) const;
        ///
-       bool insetAllowed(InsetBase::Code) const;
+       bool insetAllowed(InsetCode) const;
        /** returns true if, when outputing LaTeX, font changes should
            be closed before generating this inset. This is needed for
            insets that may contain several paragraphs */