]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSpellchecker.h
Change glob() API to accept a dir parameter.
[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 #include "FormDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlSpellchecker;
21 struct FD_spellchecker;
22
23 /** This class provides an XForms implementation of the FormSpellchecker Dialog.
24  */
25 class FormSpellchecker
26         : public FormController<ControlSpellchecker, FormView<FD_spellchecker> > {
27 public:
28         ///
29         FormSpellchecker(Dialog &);
30 private:
31         /// not needed.
32         virtual void apply() {}
33         /// Build the dialog
34         virtual void build();
35         ///
36         virtual void update();
37
38         /// set suggestions and exit message
39         virtual void partialUpdate(int);
40
41         /// Filter the inputs
42         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
43 };
44
45 } // namespace frontend
46 } // namespace lyx
47
48 #endif // FORMSPELLCHECKER_H