4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Jürgen Spitzmüller
10 * Full author contact details are available in file CREDITS.
16 #include "support/docstring.h"
23 #include MYTHES_H_LOCATION
25 #ifdef HAVE_LIBAIKSAURUS
26 #include AIKSAURUS_H_LOCATION
27 #endif // HAVE_LIBAIKSAURUS
28 #endif // !HAVE_LIBMYTHES
33 * This class provides an interface to whatever thesauri we might support.
43 typedef std::map<docstring, std::vector<docstring> > Meanings;
46 * look up some text in the thesaurus
48 Meanings lookup(docstring const & text, docstring const & lang);
49 /// check if a thesaurus for a given language \p lang is available
50 bool thesaurusAvailable(docstring const & lang) const;
54 /// add a thesaurus to the list
55 bool addThesaurus(docstring const & lang);
57 typedef std::map<docstring, MyThes *> Thesauri;
61 #ifdef HAVE_LIBAIKSAURUS
63 #endif // HAVE_LIBAIKSAURUS
64 #endif // !HAVE_LIBMYTHES
67 extern Thesaurus thesaurus;