]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSpellchecker.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormSpellchecker.h
1 // -*- C++ -*-
2 /**
3  * \file FormSpellchecker.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef FORMSPELLCHECKER_H
13 #define FORMSPELLCHECKER_H
14
15
16 #include "FormBase.h"
17
18 class ControlSpellchecker;
19 struct FD_spellchecker;
20
21 /** This class provides an XForms implementation of the FormSpellchecker Dialog.
22  */
23 class FormSpellchecker
24         : public FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > {
25 public:
26         ///
27         FormSpellchecker();
28 private:
29         /// not needed.
30         virtual void apply() {}
31         /// Build the dialog
32         virtual void build();
33         /// not needed.
34         virtual void update() {}
35
36         /// set suggestions and exit message
37         virtual void partialUpdate(int);
38
39         /// Filter the inputs
40         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
41 };
42
43 #endif // FORMSPELLCHECKER_H