]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSpellchecker.h
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / FormSpellchecker.h
1 // -*- C++ -*-
2 /**
3  * \file FormSpellchecker.h
4  * See the file COPYING.
5  *
6  * \author Edwin Leuven
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #ifndef FORMSPELLCHECKER_H
12 #define FORMSPELLCHECKER_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "FormBase.h"
19
20 class ControlSpellchecker;
21 struct FD_spellchecker;
22
23 /** This class provides an XForms implementation of the FormSpellchecker Dialog.
24  */
25 class FormSpellchecker : public FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > {
26 public:
27         ///
28         FormSpellchecker();
29 private:
30         /// not needed.
31         void apply() {}
32         /// Build the dialog
33         void build();
34         ///
35         void update();
36
37         /// enable/disable widgets when start/stop
38         void stop(bool);
39
40         /// update progress bar, set suggestions, exit message
41         void partialUpdate(int);
42
43         /// show an error message
44         void showMessage(const char * msg);
45
46         /// Filter the inputs
47         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
48 };
49
50 #endif // FORMSPELLCHECKER_H