X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FWordList.h;h=d21f9c8c7ed6924316482ef3dfdd14dbbe389e71;hb=858c12c6bb850b7ed7a708e3e66fd58ba6f06cb9;hp=263c4d40da60b99e7cf9f2d0ed1b1b5778b06617;hpb=f658224e5c3b5f9ecdadb4bfb00d91cef41822c8;p=lyx.git diff --git a/src/WordList.h b/src/WordList.h index 263c4d40da..d21f9c8c7e 100644 --- a/src/WordList.h +++ b/src/WordList.h @@ -17,6 +17,9 @@ namespace lyx { class WordList { + // noncopyable because of pimpl + WordList(WordList const &); + WordList & operator=(WordList const &); public: /// WordList(); @@ -29,12 +32,18 @@ public: 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