X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FWordList.h;h=b7f88fb78f305767c278ec1fe19e1493b87de80b;hb=ec3aed75ad965160a96547b7e36c924c5df7a91b;hp=b802cf098f0d57ca61d8f542a2ff5293d6a6d8cd;hpb=9f21b7f9adee7f803f04ea168b6d461f4baa37b2;p=lyx.git diff --git a/src/WordList.h b/src/WordList.h index b802cf098f..b7f88fb78f 100644 --- a/src/WordList.h +++ b/src/WordList.h @@ -14,6 +14,8 @@ #include "support/docstring.h" +#include "Language.h" + namespace lyx { class WordList { @@ -29,12 +31,18 @@ public: size_t size() const; /// void insert(docstring const & w); + /// + void remove(docstring const & w); + /// + static void cleanupWordLists(); private: - class Impl; + struct Impl; Impl * d; }; +WordList * theWordList(Language const & lang); + } // namespace lyx #endif // WORDLIST_H