]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
pimpl not needed here
[lyx.git] / src / insets / InsetCitation.h
index 0bc7ee0ab7848214f564ff4db73b75de0fba5035..9a2bcfb5a42791e3326195460ce7201b2d2e2c12 100644 (file)
@@ -50,8 +50,15 @@ public:
        ///
        void validate(LaTeXFeatures &) const;
        ///
-       void replaceContents(std::string const & from, std::string const & to);
-
+       static CommandInfo const * findInfo(std::string const &);
+       //FIXME This is the locus of the design problem we have.
+       //It really ought to do what default_cite_command() does,
+       //but to do that it needs to know what CiteEngine we are
+       //using.
+       ///
+       static std::string defaultCommand() { return "cite"; };
+       ///
+       static bool isCompatibleCommand(std::string const & cmd);
 private:
        virtual Inset * clone() const
        {