]> git.lyx.org Git - lyx.git/blobdiff - src/CiteEnginesList.h
Fix bug #12772
[lyx.git] / src / CiteEnginesList.h
index 83fb87516182d1c2a1c52f2d3249ca582760d2ff..2979f004bce6e46085bc4449da017ea2e25af4c9 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Richard Heck
+ * \author Richard Kimberly Heck
  * \author Jürgen Spitzmüller
  *
  * Full author contact details are available in file CREDITS.
@@ -22,8 +22,7 @@ namespace lyx {
 
 /**
  *  This class represents a particular LyX "cite engine", which defines the features
- * of a particular citation backend such as natbib or biblatex. In that sense, it is more like
- *  a LaTeX package, where a layout file corresponds to a LaTeX class.
+ *  of a particular citation backend such as natbib or biblatex.
  *
  *  In general, a given cite engine can be used with any document class. That said,
  *  one cite engine may `require' another, or it may `exclude' some other cite engine.
@@ -80,6 +79,8 @@ public:
        ///
        std::vector<std::string> const & getPackageList() const
                { return package_list_; }
+       ///
+       bool required(std::string const & p) const;
 private:
        /// what appears in the ui
        std::string name_;
@@ -99,7 +100,7 @@ private:
        /// the LaTeX packages on which this depends, if any
        std::vector<std::string> package_list_;
        // these are mutable because they are used to cache the results
-       // or an otherwise const operation.
+       // of an otherwise const operation.
        ///
        mutable bool checked_;
        ///
@@ -154,5 +155,5 @@ public:
 };
 
 extern CiteEnginesList theCiteEnginesList;
-}
+} // namespace lyx
 #endif