+ InsetNote(BufferParams const &, std::string const &);
+ ///
+ ~InsetNote();
+ ///
+ virtual docstring const editMessage() const;
+ ///
+ InsetBase::Code lyxCode() const { return InsetBase::NOTE_CODE; }
+ ///
+ void write(Buffer const &, std::ostream &) const;
+ ///
+ void read(Buffer const & buf, LyXLex & lex);
+ ///
+ void setButtonLabel();
+ /// show the note dialog
+ bool showInsetDialog(BufferView * bv) const;
+ ///
+ int latex(Buffer const &, odocstream &, OutputParams const &) const;
+ ///
+ int docbook(Buffer const &, odocstream &, OutputParams const &) const;
+ ///
+ int plaintext(Buffer const &, odocstream &, OutputParams const &) const;
+ ///
+ void validate(LaTeXFeatures &) const;
+ ///
+ InsetNoteParams const & params() const { return params_; }
+ ///
+ bool getStatus(LCursor &, FuncRequest const &, FuncStatus &) const;
+protected:
+ InsetNote(InsetNote const &);
+ ///
+ virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+private:
+ friend class InsetNoteParams;
+
+ virtual std::auto_ptr<InsetBase> doClone() const;
+
+ /// used by the constructors
+ void init();
+ ///
+ InsetNoteParams params_;
+};
+
+
+class InsetNoteMailer : public MailInset {
+public:
+ ///
+ InsetNoteMailer(InsetNote & inset);