]> git.lyx.org Git - lyx.git/blobdiff - src/CiteEnginesList.cpp
Bulk cleanup/fix incorrect annotation at the end of namespaces.
[lyx.git] / src / CiteEnginesList.cpp
index 2b8de0525546952bfef69a25fa059f93bfa64be6..58b686511b0eda996efd99dd093001ccc5f543bf 100644 (file)
@@ -110,6 +110,12 @@ bool LyXCiteEngine::isDefaultBiblio(string const & bf) const
 }
 
 
+bool LyXCiteEngine::requires(const string p) const
+{
+       return find(package_list_.begin(), package_list_.end(), p) != package_list_.end();
+}
+
+
 // used when sorting the cite engine list.
 class EngineSorter {
 public:
@@ -142,7 +148,7 @@ CiteEngineTypeTranslator const & citeenginetypetranslator()
        return translator;
 }
 
-} // namespace anon
+} // namespace
 
 
 string CiteEnginesList::getTypeAsString(CiteEngineType const & et) const