]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormIndex.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormIndex.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2000-2001 The LyX Team.
8  *
9  * ======================================================
10  *
11  * \file FormIndex.h
12  * \author Angus Leeming, a.leeming@ic.ac.uk
13  */
14
15 #ifndef FORMINDEX_H
16 #define FORMINDEX_H
17
18 #ifdef __GNUG__
19 #pragma interface
20 #endif
21
22 #include "FormBase.h"
23
24 class ControlIndex;
25 struct FD_form_index;
26
27 /** This class provides an XForms implementation of the Index Dialog.
28  */
29 class FormIndex : public FormCB<ControlIndex, FormDB<FD_form_index> > {
30 public:
31         ///
32         FormIndex(ControlIndex &);
33
34 private:
35         /// Set the Params variable for the Controller.
36         virtual void apply();
37         /// Build the dialog.
38         virtual void build();
39         /// Update dialog before/whilst showing it.
40         virtual void update();
41
42         /// Fdesign generated method
43         FD_form_index * build_index();
44 };
45
46 #endif // FORMINDEX_H