]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormIndex.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / FormIndex.h
1 // -*- C++ -*-
2 /**
3  * \file xforms/FormIndex.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  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef FORMINDEX_H
13 #define FORMINDEX_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormBase.h"
20
21 class ControlIndex;
22 struct FD_index;
23
24 /** This class provides an XForms implementation of the Index Dialog.
25  */
26 class FormIndex : public FormCB<ControlIndex, FormDB<FD_index> > {
27 public:
28         ///
29         FormIndex();
30 private:
31         /// Set the Params variable for the Controller.
32         virtual void apply();
33         /// Build the dialog.
34         virtual void build();
35         /// Update dialog before/whilst showing it.
36         virtual void update();
37 };
38
39 #endif // FORMINDEX_H