3 * \file ControlThesaurus.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
13 #ifndef CONTROLTHESAURUS_H
14 #define CONTROLTHESAURUS_H
23 #include "Thesaurus.h"
24 #include "ControlDialog_impl.h"
26 /** A controller for Thesaurus dialogs.
28 class ControlThesaurus : public ControlDialogBD {
31 ControlThesaurus(LyXView &, Dialogs &);
33 /// replace the particular string
34 void replace(string const & newstr);
37 virtual void showEntry(string const & str);
40 Thesaurus::Meanings const & getMeanings(string const & str);
43 string const & text() {
48 /// last string looked up
51 /// entries for last string
52 Thesaurus::Meanings meanings_;
58 virtual void apply() {}
61 #endif // CONTROLTHESAURUS_H