#include "support/docstring.h"
-#include "Language.h"
-
namespace lyx {
class WordList {
+ // noncopyable because of pimpl
+ WordList(WordList const &);
+ WordList & operator=(WordList const &);
public:
///
WordList();
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