3 * \file ControlThesaurus.h
4 * Copyright 2001 the LyX Team
5 * Read the file COPYING
11 #ifndef CONTROLTHESAURUS_H
12 #define CONTROLTHESAURUS_H
21 #include "Thesaurus.h"
22 #include "ControlDialog_impl.h"
24 /** A controller for Thesaurus dialogs.
26 class ControlThesaurus : public ControlDialogBD {
29 ControlThesaurus(LyXView &, Dialogs &);
31 /// replace the particular string
32 void replace(string const & newstr);
35 virtual void showEntry(string const & str);
38 Thesaurus::Meanings const & getMeanings(string const & str);
41 string const & text() {
46 /// last string looked up
49 /// entries for last string
50 Thesaurus::Meanings meanings_;
56 virtual void apply() {}
59 #endif // CONTROLTHESAURUS_H