]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBibtex.h
Disable various buttons when buffer is read only
[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 class ControlBibtex;
21 struct FD_form_bibtex;
22
23 /**
24  * For bibtex database setting
25  */
26 class FormBibtex : public FormCB<ControlBibtex, FormDB<FD_form_bibtex> > {
27 public:
28         ///
29         FormBibtex(ControlBibtex &);
30
31 private:
32         /// Set the Params variable for the Controller.
33         virtual void apply();
34         /// Build the dialog.
35         virtual void build();
36         /// Update dialog before/whilst showing it.
37         virtual void update();
38         /// Filter the inputs on callback from xforms
39         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
40
41         /// Fdesign generated method
42         FD_form_bibtex * build_bibtex();
43 };
44
45 #endif // FORMBIBTEX_H