X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FThesaurus.h;h=e63f2935236108b73cddbdb0104e5692aa6e515c;hb=4056f0ddb150d0e5d60bc5941d51e365eed0ac86;hp=f92f2e2510d9c1a2c54661490681caf1ab8ac75f;hpb=236ea81bc5c0ce7101c9460d1ee97b8f3c9be9df;p=lyx.git diff --git a/src/Thesaurus.h b/src/Thesaurus.h index f92f2e2510..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 "support/std_string.h" #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(string const & text); + Meanings lookup(docstring const & text); private: #ifdef HAVE_LIBAIKSAURUS @@ -46,4 +49,7 @@ private: extern Thesaurus thesaurus; + +} // namespace lyx + #endif