]> git.lyx.org Git - lyx.git/blobdiff - src/WordList.h
Fix typo.
[lyx.git] / src / WordList.h
index 7bef7f34aa3b72b47562e3b8097b8ed91a2b59af..d21f9c8c7ed6924316482ef3dfdd14dbbe389e71 100644 (file)
 
 #include "support/docstring.h"
 
-#include "Language.h"
-
 namespace lyx {
 
 class WordList {
+       // noncopyable because of pimpl
+       WordList(WordList const &);
+       WordList & operator=(WordList const &);
 public:
        ///
        WordList();
@@ -33,13 +34,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