]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormSpellchecker.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormSpellchecker.h
index a05e27a676ec59945e4ef2cf219890ed764300c6..f5fc7058feb002deacb23ec3c02eda29ceb44d8d 100644 (file)
@@ -6,15 +6,12 @@
  *
  * \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 "FormBase.h"
 
@@ -23,26 +20,21 @@ struct FD_spellchecker;
 
 /** This class provides an XForms implementation of the FormSpellchecker Dialog.
  */
-class FormSpellchecker : public FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > {
+class FormSpellchecker
+       : public FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > {
 public:
        ///
        FormSpellchecker();
 private:
        /// not needed.
-       void apply() {}
+       virtual void apply() {}
        /// Build the dialog
-       void build();
-       ///
-       void update();
-
-       /// enable/disable widgets when start/stop; return running status
-       bool start(bool init = false);
-
-       /// update progress bar, set suggestions, exit message
-       void partialUpdate(int);
+       virtual void build();
+       /// not needed.
+       virtual void update() {}
 
-       /// show an error message
-       void showMessage(const char * msg);
+       /// set suggestions and exit message
+       virtual void partialUpdate(int);
 
        /// Filter the inputs
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);