X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FThesaurus.h;h=e63f2935236108b73cddbdb0104e5692aa6e515c;hb=52eb91c94fb70d58dceef430659c8781de2eccda;hp=a673e04765a1f6792932768a066f4945e18b7fb9;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/Thesaurus.h b/src/Thesaurus.h index a673e04765..e63f293523 100644 --- a/src/Thesaurus.h +++ b/src/Thesaurus.h @@ -12,6 +12,8 @@ #ifndef THESAURUS_H #define THESAURUS_H +#include "support/docstring.h" + #include #include @@ -19,6 +21,8 @@ #include AIKSAURUS_H_LOCATION #endif +namespace lyx { + /** * This class provides an interface to whatever thesauri we might support. */ @@ -30,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 @@ -45,4 +49,7 @@ private: extern Thesaurus thesaurus; + +} // namespace lyx + #endif