]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlBibtex.h
This file is part of LyX, the document processor.
[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 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "ControlCommand.h"
21
22 /** A controller for Bibtex dialogs.
23  */
24 class ControlBibtex : public ControlCommand
25 {
26 public:
27         ///
28         ControlBibtex(LyXView &, Dialogs &);
29         /// Browse for a file
30         string const Browse(string const &, string const &, string const &);
31         /// get the list of bst files
32         string const getBibStyles() const;
33         /// build filelists of all availabe bst/cls/sty-files. done through
34         /// kpsewhich and an external script, saved in *Files.lst
35         void rescanBibStyles() const;
36          
37 private:
38         /// Dispatch the changed parameters to the kernel.
39         virtual void applyParamsToInset();
40         ///
41         virtual void applyParamsNoInset();
42 };
43
44 #endif // CONTROLBIBTEX_H