]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetnote.h
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / insetnote.h
index f4f103f18cd73d714bb400c1daa056e6d0d79ff3..5def38e637c8022609ac35f964508768045ad6e3 100644 (file)
@@ -25,17 +25,23 @@ class InsetNote : public InsetCollapsable {
 public:
        /// 
        InsetNote();
+       ///
+       InsetNote(InsetNote const &, bool same_id = false);
+       ///
+       Inset * clone(Buffer const &, bool same_id = false) const;
        /// constructor with initial contents
        InsetNote(Buffer const *, string const & contents, bool collapsed);
        ///
-       virtual string const editMessage() const;
+       string const editMessage() const;
        ///
-       virtual Inset::Code lyxCode() const { return Inset::IGNORE_CODE; }
+       Inset::Code lyxCode() const { return Inset::IGNORE_CODE; }
        ///
-       virtual void write(Buffer const *, std::ostream &) const;
+       void write(Buffer const *, std::ostream &) const;
        ///
-       virtual int latex(Buffer const *, std::ostream &, bool, bool) const
+       int latex(Buffer const *, std::ostream &, bool, bool) const
                { return 0; }
+       ///
+       void validate(LaTeXFeatures &) const {}
 private:
        /// used by the constructors
        void init();