#ifndef THESAURUS_H
#define THESAURUS_H
+#include "support/docstring.h"
+
#include <vector>
#include <map>
#include AIKSAURUS_H_LOCATION
#endif
+namespace lyx {
+
/**
* This class provides an interface to whatever thesauri we might support.
*/
///
~Thesaurus();
- typedef std::map<std::string, std::vector<std::string> > Meanings;
+ typedef std::map<docstring, std::vector<docstring> > Meanings;
/**
* look up some text in the thesaurus
*/
- Meanings lookup(std::string const & text);
+ Meanings lookup(docstring const & text);
private:
#ifdef HAVE_LIBAIKSAURUS
extern Thesaurus thesaurus;
+
+} // namespace lyx
+
#endif