]> git.lyx.org Git - lyx.git/blobdiff - src/Thesaurus.h
move everything into namespace lyx
[lyx.git] / src / Thesaurus.h
index c8a9afb521fd885ddcbf1a5aec7e2a33e1b504ac..abe9f16339cfcad30f4d91bac87e4fda5ed83254 100644 (file)
 
 #include <vector>
 #include <map>
+#include <string>
 
-#include "LString.h"
 #ifdef HAVE_LIBAIKSAURUS
 #include AIKSAURUS_H_LOCATION
 #endif
 
+namespace lyx {
+
 /**
  * This class provides an interface to whatever thesauri we might support.
  */
@@ -31,12 +33,12 @@ public:
        ///
        ~Thesaurus();
 
-       typedef std::map<string, std::vector<string> > Meanings;
+       typedef std::map<std::string, std::vector<std::string> > Meanings;
 
        /**
         * look up some text in the thesaurus
         */
-       Meanings lookup(string const & text);
+       Meanings lookup(std::string const & text);
 
 private:
 #ifdef HAVE_LIBAIKSAURUS
@@ -46,4 +48,7 @@ private:
 
 extern Thesaurus thesaurus;
 
+
+} // namespace lyx
+
 #endif