lyx_mirror/src/frontends/xforms/FormSpellchecker.h
Angus Leeming 1e3d2fce7f No longer pass Controller & or Dialogs & to the View c-tors.
GUI now contains a controller rather than derives from a controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4942 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 14:28:43 +00:00

50 lines
960 B
C++

// -*- C++ -*-
/**
* \file FormSpellchecker.h
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
* \author Edwin Leuven, leuven@fee.uva.nl
*/
#ifndef FORMSPELLCHECKER_H
#define FORMSPELLCHECKER_H
#ifdef __GNUG__
#pragma interface
#endif
#include "FormBase.h"
class ControlSpellchecker;
struct FD_spellchecker;
/** This class provides an XForms implementation of the FormSpellchecker Dialog.
*/
class FormSpellchecker : public FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > {
public:
///
FormSpellchecker();
private:
/// not needed.
void apply() {}
/// Build the dialog
void build();
///
void update();
/// enable/disable widgets when start/stop
void stop(bool);
/// update progress bar, set suggestions, exit message
void partialUpdate(int);
/// show an error message
void showMessage(const char * msg);
/// Filter the inputs
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
};
#endif // FORMSPELLCHECKER_H