]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetnote.h
remove lowercase, better layout handling and some variable renameing
[lyx.git] / src / insets / insetnote.h
index a23fbdb2191a29a2fc09719c23ae6cb9f4280b99..ed02318d088ff8a2dfa3a86cfac6b79921640c8e 100644 (file)
 class InsetNote : public InsetCollapsable {
 public:
        /// 
-       InsetNote();
+       InsetNote(BufferParams const &);
+       ///
+       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 Inset * clone(Buffer const &, bool) const;
+       string const editMessage() const;
        ///
-       virtual string const editMessage() const;
+       Inset::Code lyxCode() const { return Inset::IGNORE_CODE; }
        ///
-       virtual Inset::Code lyxCode() const { return Inset::IGNORE_CODE; }
+       void write(Buffer const *, std::ostream &) const;
        ///
-       virtual 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();