]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlBibtex.h
prefs/tabular MVC work
[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 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 private:
36         /// Dispatch the changed parameters to the kernel.
37         virtual void applyParamsToInset();
38         ///
39         virtual void applyParamsNoInset();
40 };
41
42 #endif // CONTROLBIBTEX_H