3 * \file WordLangTuple.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef WORD_LANG_TUPLE_H
13 #define WORD_LANG_TUPLE_H
17 #include "support/docstring.h"
26 * A word and its given language.
27 * This is used for spellchecking
32 WordLangTuple() : lang_(0) {}
34 WordLangTuple(docstring const & w, Language const * l)
39 docstring const & word() const {
43 /// return its language code
44 Language const * lang() const {
52 Language const * lang_;
56 typedef std::vector<WordLangTuple> WordLangTable;
61 #endif // WORD_LANG_TUPLE_H