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
20 #include "Thesaurus.h"
21 #include "ControlDialog_impl.h"
23 /** A controller for Thesaurus dialogs.
25 class ControlThesaurus : public ControlDialogBD {
28 ControlThesaurus(LyXView &, Dialogs &);
30 /// replace the particular string
31 void replace(string const & newstr);
34 virtual void showEntry(string const & str);
37 Thesaurus::Meanings const & getMeanings(string const & str);
40 string const & text() {
45 /// last string looked up
48 /// entries for last string
49 Thesaurus::Meanings meanings_;
55 virtual void apply() {}
58 #endif // CONTROLTHESAURUS_H