]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlBibtex.h
Compilation fix.
[lyx.git] / src / frontends / controllers / ControlBibtex.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2001 The LyX Team.
8  *
9  * ======================================================
10  *
11  * \file ControlBibtex.h
12  * \author John Levon, moz@compsoc.man.ac.uk
13  * \author Angus Leeming <a.leeming@ic.ac.uk>
14  */
15
16 #ifndef CONTROLBIBTEX_H
17 #define CONTROLBIBTEX_H
18
19 #ifdef __GNUG__
20 #pragma interface
21 #endif
22
23 #include "ControlCommand.h"
24
25 /** A controller for Bibtex dialogs.
26  */
27 class ControlBibtex : public ControlCommand
28 {
29 public:
30         ///
31         ControlBibtex(LyXView &, Dialogs &);
32         /// Browse for a file
33         string const Browse(string const &, string const &, string const &);
34         /// get the list of bst files
35         string const getBibStyles() const;
36         /// build filelists of all availabe bst/cls/sty-files. done through
37         /// kpsewhich and an external script, saved in *Files.lst
38         void rescanBibStyles() const;
39          
40 private:
41         /// Dispatch the changed parameters to the kernel.
42         virtual void applyParamsToInset();
43         ///
44         virtual void applyParamsNoInset();
45 };
46
47 #endif // CONTROLBIBTEX_H