// -*- C++ -*- /** * \file FormSpellchecker.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author Edwin Leuven * * Full author contact details are available in file CREDITS */ #ifndef FORMSPELLCHECKER_H #define FORMSPELLCHECKER_H #include "FormBase.h" class ControlSpellchecker; struct FD_spellchecker; /** This class provides an XForms implementation of the FormSpellchecker Dialog. */ class FormSpellchecker : public FormCB > { public: /// FormSpellchecker(); private: /// not needed. virtual void apply() {} /// Build the dialog virtual void build(); /// virtual void update(); /// set suggestions and exit message virtual void partialUpdate(int); /// Filter the inputs virtual ButtonPolicy::SMInput input(FL_OBJECT *, long); /// enum State { READY_TO_START, STARTED, CHECKING, STOPPED }; /// void updateState(State state); /// State state_; }; #endif // FORMSPELLCHECKER_H