]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Math.lyx, Tutorial.lyx: fix some typos spotted by a user
[lyx.git] / src / insets / InsetCitation.h
index 2f7186d63fdf7d62309708555aa755c98d73a671..1b2f714bfa600ec7fcddd4e2c3609ac70d434424 100644 (file)
@@ -31,6 +31,11 @@ class InsetCitation : public InsetCommand
 public:
        ///
        InsetCitation(Buffer * buf, InsetCommandParams const &);
+       ///
+       ~InsetCitation();
+
+       ///
+       bool addKey(std::string const & key);
 
        /// \name Public functions inherited from Inset class
        //@{
@@ -57,7 +62,7 @@ public:
        ///
        void forToc(docstring &, size_t) const;
        ///
-       void validate(LaTeXFeatures &) const;
+       void validate(LaTeXFeatures &) const {}
        ///
        void updateBuffer(ParIterator const & it, UpdateType);
        ///
@@ -70,10 +75,7 @@ public:
        //@{
        ///
        static ParamInfo 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);