]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.cpp
pimpl not needed here
[lyx.git] / src / insets / InsetBibtex.cpp
index fe8db57a58e4c448648ee0ed93b4882db94d7681..d5a076671fbcfc876690bc639bd6ed61cf8de43c 100644 (file)
@@ -27,6 +27,7 @@
 #include "frontends/alert.h"
 
 #include "support/ExceptionMessage.h"
+#include "support/docstream.h"
 #include "support/filetools.h"
 #include "support/lstrings.h"
 #include "support/lyxlib.h"
@@ -78,6 +79,16 @@ InsetBibtex::InsetBibtex(InsetCommandParams const & p)
 {}
 
 
+CommandInfo const * InsetBibtex::findInfo(std::string const & /* cmdName */)
+{
+       static const char * const paramnames[] = 
+               {"options", "btprint", "bibfiles", ""};
+       static const bool isoptional[] = {true, true, false};
+       static const CommandInfo info = {3, paramnames, isoptional};
+       return &info;
+}
+
+
 Inset * InsetBibtex::clone() const
 {
        return new InsetBibtex(*this);