3 * \file FormThesaurus.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef FORMTHESAURUS_H
13 #define FORMTHESAURUS_H
15 #include "FormDialogView.h"
20 class ControlThesaurus;
23 /** This class provides an XForms implementation of the Thesaurus dialog.
26 : public FormController<ControlThesaurus, FormView<FD_thesaurus> > {
29 FormThesaurus(Dialog &);
32 virtual void apply() {}
36 virtual void update();
38 /// set the replace word properly
39 void setReplace(std::string const & templ, std::string const & nstr);
41 /// update browser entries
42 void updateMeanings(std::string const & str);
45 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
47 /// for double click handling
54 } // namespace frontend
57 #endif // FORMTHESAURUS_H