]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.h
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / insetfoot.h
index e99370063d8d67c86fb238138cbc5debf7d34170..dfcfed3b63fafeb891280f09b89395125570e6a3 100644 (file)
@@ -23,11 +23,7 @@ public:
        ///
        InsetFoot(BufferParams const &);
        ///
-       InsetFoot(InsetFoot const &);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
-       InsetOld::Code lyxCode() const { return InsetOld::FOOT_CODE; }
+       InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; }
        ///
        int latex(Buffer const &, std::ostream &,
                  OutputParams const &) const;
@@ -36,6 +32,10 @@ public:
                    OutputParams const & runparams) const;
        ///
        std::string const editMessage() const;
+protected:
+       InsetFoot(InsetFoot const &);
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif