* \author John Levon
* \author Angus Leeming
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef CONTROLBIBTEX_H
#define CONTROLBIBTEX_H
-
#include "ControlCommand.h"
+#include <vector>
+
+namespace lyx {
+namespace support {
+
+class FileFilterList;
+
+} // namespace support
+namespace frontend {
+
/** A controller for Bibtex dialogs.
*/
class ControlBibtex : public ControlCommand {
///
ControlBibtex(Dialog &);
- /// Browse for a file
- string const Browse(string const &, string const &, string const &);
+ /// Browse for a .bib file
+ std::string const browseBib(std::string const & in_name) const;
+
+ /// Browse for a .bst file
+ std::string const browseBst(std::string const & in_name) const;
+
/// get the list of bst files
- string const getBibStyles() const;
+ void getBibStyles(std::vector<std::string> & data) const;
/// get the list of bib files
- string const getBibFiles() const;
+ void getBibFiles(std::vector<std::string> & data) const;
/// build filelists of all availabe bib/bst/cls/sty-files. done through
/// kpsewhich and an external script, saved in *Files.lst
void rescanBibStyles() const;
+ /// do we use bibtopic (for sectioned bibliography)?
+ bool usingBibtopic() const;
};
+} // namespace frontend
+} // namespace lyx
#endif // CONTROLBIBTEX_H