///
EDITABLE editable() const { return IS_EDITABLE; }
///
- Code lyxCode() const { return REF_CODE; }
+ InsetCode lyxCode() const { return REF_CODE; }
///
DisplayType display() const { return Inline; }
///
OutputParams const &) const;
///
void validate(LaTeXFeatures & features) const;
+ ///
+ static CommandInfo const * findInfo(std::string const &);
+ ///
+ static std::string defaultCommand() { return "ref"; };
+ ///
+ static bool isCompatibleCommand(std::string const & s);
protected:
+ ///
InsetRef(InsetRef const &);
///
virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
private:
- virtual std::auto_ptr<Inset> doClone() const {
- return std::auto_ptr<Inset>(new InsetRef(*this));
- }
+ ///
+ Inset * clone() const { return new InsetRef(*this); }
///
bool isLatex;
};