]> git.lyx.org Git - lyx.git/blobdiff - src/Thesaurus.h
Fixed some lines that were too long. It compiled afterwards.
[lyx.git] / src / Thesaurus.h
index f92f2e2510d9c1a2c54661490681caf1ab8ac75f..e63f2935236108b73cddbdb0104e5692aa6e515c 100644 (file)
 #ifndef THESAURUS_H
 #define THESAURUS_H
 
+#include "support/docstring.h"
+
 #include <vector>
 #include <map>
 
-#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<string, std::vector<string> > Meanings;
+       typedef std::map<docstring, std::vector<docstring> > 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