X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetNomencl.h;h=5d6c663d3c26e352a7e1ef0d55f16c0f79cb5967;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=499f5950e3db92860396aa3cbc2e388da35f68c4;hpb=ed858d73e57ce7aa89e38c1bc4d799362edb0227;p=lyx.git diff --git a/src/insets/InsetNomencl.h b/src/insets/InsetNomencl.h index 499f5950e3..5d6c663d3c 100644 --- a/src/insets/InsetNomencl.h +++ b/src/insets/InsetNomencl.h @@ -34,12 +34,19 @@ public: /// Updates needed features for this inset. void validate(LaTeXFeatures & features) const; /// - Inset::Code lyxCode() const; + InsetCode lyxCode() const { return NOMENCL_CODE; } /// int docbook(Buffer const &, odocstream &, OutputParams const &) const; /// int docbookGlossary(odocstream &) const; + /// + static ParamInfo const & findInfo(std::string const &); + /// + static std::string defaultCommand() { return "nomenclature"; }; + /// + static bool isCompatibleCommand(std::string const & s) + { return s == "nomenclature"; } private: virtual Inset * clone() const { return new InsetNomencl(params()); @@ -65,11 +72,18 @@ public: int docbook(Buffer const &, odocstream &, OutputParams const &) const; /// - Inset::Code lyxCode() const; + InsetCode lyxCode() const; /// DisplayType display() const { return AlignCenter; } /// docstring const getScreenLabel(Buffer const &) const; + /// + static ParamInfo const & findInfo(std::string const &); + /// + static std::string defaultCommand() { return "printnomenclature"; }; + /// + static bool isCompatibleCommand(std::string const & s) + { return s == "printnomenclature"; } private: virtual Inset * clone() const { return new InsetPrintNomencl(params());