lyx_mirror/src/frontends/xforms/FormSpellchecker.h
Lars Gullik Bjønnes 5fd921e9e6 2002-07-02 Lars Gullik Bj�nnes <larsbj@birdstep.com>
Dialogs.h: remove static from redrawGUI and
toggleTooltips.

And changes because of this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4517 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-02 19:23:10 +00:00

50 lines
992 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(ControlSpellchecker &, Dialogs &);
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