]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlBibtex.h
The reference dialog now disconnects from the inset on Apply. Its behaviour
[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  
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