+ InsetNoteParams const & params() const { return params_; }
+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_;
+};
+
+
+#include "mailinset.h"
+
+class InsetNoteMailer : public MailInset {
+public:
+ ///
+ InsetNoteMailer(InsetNote & inset);
+ ///
+ virtual InsetBase & inset() const { return inset_; }
+ ///
+ virtual std::string const & name() const { return name_; }
+ ///
+ virtual std::string const inset2string(Buffer const &) const;
+ ///
+ static std::string const params2string(InsetNoteParams const &);
+ ///
+ static void string2params(std::string const &, InsetNoteParams &);
+
+private: