X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFloatList.h;h=8471f4333e11625725d84ff2a8da41549b28f84c;hb=c3a8b3a566e9e90f9ade72acbc723232d721d0b1;hp=e837889221e679fd9813365107af196148b54039;hpb=897436efbb9bd641b61467d185a2dfae9839e575;p=lyx.git diff --git a/src/insets/InsetFloatList.h b/src/insets/InsetFloatList.h index e837889221..8471f4333e 100644 --- a/src/insets/InsetFloatList.h +++ b/src/insets/InsetFloatList.h @@ -31,7 +31,7 @@ public: /// EDITABLE editable() const { return IS_EDITABLE; } /// - Inset::Code lyxCode() const; + InsetCode lyxCode() const { return FLOAT_LIST_CODE; } /// DisplayType display() const { return AlignCenter; } /// @@ -49,10 +49,16 @@ public: OutputParams const & runparams) const; /// void validate(LaTeXFeatures & features) const; + /// + static CommandInfo const * findInfo(std::string const & cmdName = ""); + /// + static std::string defaultCommand() { return "listoftables"; }; + /// + static bool isCompatibleCommand(std::string const & s); private: - virtual std::auto_ptr doClone() const + virtual Inset * clone() const { - return std::auto_ptr(new InsetFloatList(to_ascii(getParam("type")))); + return new InsetFloatList(to_ascii(getParam("type"))); } };