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