X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetnote.h;h=5def38e637c8022609ac35f964508768045ad6e3;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=a23fbdb2191a29a2fc09719c23ae6cb9f4280b99;hpb=55bf6460f304a4632af2136a62c8a82fb86053f3;p=lyx.git diff --git a/src/insets/insetnote.h b/src/insets/insetnote.h index a23fbdb219..5def38e637 100644 --- a/src/insets/insetnote.h +++ b/src/insets/insetnote.h @@ -25,19 +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 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();