]> git.lyx.org Git - lyx.git/blobdiff - src/WordList.h
Revert "Objective-C compililation support with cmake and C++11"
[lyx.git] / src / WordList.h
index 7bef7f34aa3b72b47562e3b8097b8ed91a2b59af..f57f20b0680b278afda11463460c34578a69c3bf 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "support/docstring.h"
 
-#include "Language.h"
-
 namespace lyx {
 
 class WordList {
@@ -33,13 +31,15 @@ public:
        void insert(docstring const & w);
        ///
        void remove(docstring const & w);
-       
+       ///
+       static void cleanupWordLists();
+
 private:
        struct Impl;
        Impl * d;
 };
 
-WordList * theWordList(Language const & lang);
+WordList * theWordList(std::string const & lang);
 
 } // namespace lyx