]> git.lyx.org Git - lyx.git/blobdiff - src/WordLangTuple.h
Update Win installer for new dictionary links. Untested.
[lyx.git] / src / WordLangTuple.h
index 0e3391e296816aba82f515d48c3256a42af382a9..6459c46f8faa18eaba2d3540863d9fa5235fbd16 100644 (file)
@@ -16,6 +16,8 @@
 
 #include "support/docstring.h"
 
+#include <vector>
+
 
 namespace lyx {
 
@@ -29,7 +31,7 @@ class WordLangTuple {
 public:
        WordLangTuple() : lang_(0) {}
 
-       WordLangTuple(docstring const & w, Language * l)
+       WordLangTuple(docstring const & w, Language const * l)
                : word_(w), lang_(l)
        {}
 
@@ -47,10 +49,13 @@ private:
        /// the word
        docstring word_;
        /// language of word
-       Language * lang_;
+       Language const * lang_;
 };
 
 
+typedef std::vector<WordLangTuple> WordLangTable;
+
+
 } // namespace lyx
 
 #endif // WORD_LANG_TUPLE_H