///
virtual docstring const editMessage() const;
///
- InsetBase::Code lyxCode() const { return InsetBase::NOTE_CODE; }
+ Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
+ ///
+ docstring name() const { return from_ascii("Note"); }
///
void write(Buffer const &, std::ostream &) const;
///
///
InsetNoteParams const & params() const { return params_; }
///
- bool getStatus(LCursor &, FuncRequest const &, FuncStatus &) const;
+ bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
protected:
InsetNote(InsetNote const &);
///
- virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+ virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
private:
friend class InsetNoteParams;
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual std::auto_ptr<Inset> doClone() const;
/// used by the constructors
void init();
///
InsetNoteMailer(InsetNote & inset);
///
- virtual InsetBase & inset() const { return inset_; }
+ virtual Inset & inset() const { return inset_; }
///
virtual std::string const & name() const { return name_; }
///