]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBibtex.h
ce9ca1d3787a5f5fd6f10bb293190f44171e9276
[lyx.git] / src / frontends / xforms / FormBibtex.h
1 // -*- C++ -*-
2 /**
3  * \file FormBibtex.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Angus Leeming
8  * \author John Levon
9  */
10
11 #ifndef FORMBIBTEX_H
12 #define FORMBIBTEX_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "FormBase.h"
19
20 #include "form_bibtex.h"
21
22 class ControlBibtex;
23
24 /**
25  * For bibtex database setting
26  */
27 class FormBibtex : public FormBase2<ControlBibtex, FD_form_bibtex> {
28 public:
29         ///
30         FormBibtex(ControlBibtex &);
31
32         // Functions accessible to the Controller.
33
34         /// Set the Params variable for the Controller.
35         virtual void apply();
36         /// Build the dialog.
37         virtual void build();
38         /// Update dialog before/whilst showing it.
39         virtual void update();
40         
41 private:
42         /// Filter the inputs on callback from xforms
43         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
44         ///
45         FD_form_bibtex * build_bibtex();
46 };
47
48 #endif // FORMBIBTEX_H