#ifndef WORD_LANG_TUPLE_H
#define WORD_LANG_TUPLE_H
+#include "support/docstring.h"
+
+
+namespace lyx {
+
+
/**
* A word and its given language code ("en_US").
* This is used for spellchecking.
public:
WordLangTuple() {}
- WordLangTuple(std::string const & w, std::string const & c)
+ WordLangTuple(docstring const & w, std::string const & c)
: word_(w), code_(c)
{}
/// return the word
- std::string const & word() const {
+ docstring const & word() const {
return word_;
}
private:
/// the word
- std::string word_;
+ docstring word_;
/// language code of word
std::string code_;
};
+
+} // namespace lyx
+
#endif // WORD_LANG_TUPLE_H