namespace lyx {
class WordList {
+ // noncopyable because of pimpl
+ WordList(WordList const &);
+ WordList & operator=(WordList const &);
public:
///
WordList();
size_t size() const;
///
void insert(docstring const & w);
+ ///
+ void remove(docstring const & w);
+ ///
+ static void cleanupWordLists();
private:
struct Impl;
Impl * d;
};
+WordList * theWordList(std::string const & lang);
+
} // namespace lyx
#endif // WORDLIST_H