X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FThesaurus.h;h=e63f2935236108b73cddbdb0104e5692aa6e515c;hb=4056f0ddb150d0e5d60bc5941d51e365eed0ac86;hp=c3ea6904e9434fbe4c077e44ee5288203482f5f5;hpb=eb36b71ce3b9880a9b577f3db25d16e6a86cd338;p=lyx.git diff --git a/src/Thesaurus.h b/src/Thesaurus.h index c3ea6904e9..e63f293523 100644 --- a/src/Thesaurus.h +++ b/src/Thesaurus.h @@ -12,14 +12,17 @@ #ifndef THESAURUS_H #define THESAURUS_H +#include "support/docstring.h" + #include #include -#include #ifdef HAVE_LIBAIKSAURUS #include AIKSAURUS_H_LOCATION #endif +namespace lyx { + /** * This class provides an interface to whatever thesauri we might support. */ @@ -31,12 +34,12 @@ public: /// ~Thesaurus(); - typedef std::map > Meanings; + typedef std::map > Meanings; /** * look up some text in the thesaurus */ - Meanings lookup(std::string const & text); + Meanings lookup(docstring const & text); private: #ifdef HAVE_LIBAIKSAURUS @@ -46,4 +49,7 @@ private: extern Thesaurus thesaurus; + +} // namespace lyx + #endif