]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlBibtex.h
Really dull and boring header shit
[lyx.git] / src / frontends / controllers / ControlBibtex.h
1 // -*- C++ -*-
2 /**
3  * \file ControlBibtex.h
4  * Read the file COPYING
5  *
6  * \author John Levon
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef CONTROLBIBTEX_H
13 #define CONTROLBIBTEX_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "ControlCommand.h"
20
21 /** A controller for Bibtex dialogs.
22  */
23 class ControlBibtex : public ControlCommand
24 {
25 public:
26         ///
27         ControlBibtex(LyXView &, Dialogs &);
28         /// Browse for a file
29         string const Browse(string const &, string const &, string const &);
30         /// get the list of bst files
31         string const getBibStyles() const;
32         /// build filelists of all availabe bst/cls/sty-files. done through
33         /// kpsewhich and an external script, saved in *Files.lst
34         void rescanBibStyles() const;
35          
36 private:
37         /// Dispatch the changed parameters to the kernel.
38         virtual void applyParamsToInset();
39         ///
40         virtual void applyParamsNoInset();
41 };
42
43 #endif // CONTROLBIBTEX_H