]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlBibtex.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlBibtex.h
1 // -*- C++ -*-
2 /**
3  * \file ControlBibtex.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  * \author Angus Leeming
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef CONTROLBIBTEX_H
14 #define CONTROLBIBTEX_H
15
16
17 #include "ControlCommand.h"
18 #include <vector>
19
20
21 /** A controller for Bibtex dialogs.
22  */
23 class ControlBibtex : public ControlCommand {
24 public:
25         ///
26         ControlBibtex(Dialog &);
27
28         /// Browse for a file
29         string const Browse(string const &, string const &, string const &);
30         /// get the list of bst files
31         void getBibStyles(std::vector<string> & data) const;
32         /// get the list of bib files
33         void getBibFiles(std::vector<string> & data) const;
34         /// build filelists of all availabe bib/bst/cls/sty-files. done through
35         /// kpsewhich and an external script, saved in *Files.lst
36         void rescanBibStyles() const;
37 };
38
39
40 #endif // CONTROLBIBTEX_H