X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FWordList.h;h=b7f88fb78f305767c278ec1fe19e1493b87de80b;hb=6de3c19fd63f810eed90ef3bc4469faf28e949c2;hp=d02b0b7b880eeb3d78f49fa2c1d964a015615c8f;hpb=1669c17c0fdc20ca12d0d2d30bad364b17a31e3d;p=lyx.git diff --git a/src/WordList.h b/src/WordList.h index d02b0b7b88..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 { @@ -31,13 +33,15 @@ public: void insert(docstring const & w); /// void remove(docstring const & w); - + /// + static void cleanupWordLists(); + private: struct Impl; Impl * d; }; -WordList & theWordList(); +WordList * theWordList(Language const & lang); } // namespace lyx