///
~InsetERT();
///
- InsetBase::Code lyxCode() const { return InsetBase::ERT_CODE; }
+ Inset::Code lyxCode() const { return Inset::ERT_CODE; }
+ ///
+ docstring name() const { return from_ascii("ERT"); }
///
void write(Buffer const & buf, std::ostream & os) const;
///
- void read(Buffer const & buf, LyXLex & lex);
+ void read(Buffer const & buf, Lexer & lex);
///
virtual docstring const editMessage() const;
///
- bool insetAllowed(InsetBase::Code code) const;
+ bool insetAllowed(Inset::Code code) const;
///
int latex(Buffer const &, odocstream &,
OutputParams const &) const;
///
int plaintext(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
int docbook(Buffer const &, odocstream &,
OutputParams const &) const;
///
bool showInsetDialog(BufferView *) const;
///
- void getDrawFont(LyXFont &) const;
+ void getDrawFont(Font &) const;
///
bool forceDefaultParagraphs(idx_type) const { return true; }
/// should paragraph indendation be ommitted in any case?
protected:
InsetERT(InsetERT const &);
///
- virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+ virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
///
- bool getStatus(LCursor & cur, FuncRequest const & cmd, FuncStatus &) const;
+ bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual std::auto_ptr<Inset> doClone() const;
///
void init();
///
///
InsetERTMailer(InsetERT & inset);
///
- virtual InsetBase & inset() const { return inset_; }
+ virtual Inset & inset() const { return inset_; }
///
virtual std::string const & name() const { return name_; }
///