]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBibtex.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / FormBibtex.h
1 // -*- C++ -*-
2 /**
3  * \file FormBibtex.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming 
8  * \author John Levon
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef FORMBIBTEX_H
14 #define FORMBIBTEX_H
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "FormBase.h"
21
22 class ControlBibtex;
23 struct FD_bibtex;
24
25 /**
26  * For bibtex database setting
27  */
28 class FormBibtex : public FormCB<ControlBibtex, FormDB<FD_bibtex> > {
29 public:
30         ///
31         FormBibtex();
32 private:
33         /// Set the Params variable for the Controller.
34         virtual void apply();
35         /// Build the dialog.
36         virtual void build();
37         /// Update dialog before/whilst showing it.
38         virtual void update();
39         /// Filter the inputs on callback from xforms
40         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
41 };
42
43 #endif // FORMBIBTEX_H