*
* \author Edwin Leuven
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FORMSPELLCHECKER_H
#define FORMSPELLCHECKER_H
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
class ControlSpellchecker;
struct FD_spellchecker;
/** This class provides an XForms implementation of the FormSpellchecker Dialog.
*/
-class FormSpellchecker : public FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > {
+class FormSpellchecker
+ : public FormController<ControlSpellchecker, FormView<FD_spellchecker> > {
public:
///
- FormSpellchecker();
+ FormSpellchecker(Dialog &);
private:
/// not needed.
- void apply() {}
+ virtual void apply() {}
/// Build the dialog
- void build();
+ virtual void build();
///
- void update();
+ virtual void update();
/// set suggestions and exit message
- void partialUpdate(int);
+ virtual void partialUpdate(int);
/// Filter the inputs
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
};
+} // namespace frontend
+} // namespace lyx
+
#endif // FORMSPELLCHECKER_H