X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FWordList.h;h=2afd6cb050c9bb9cc103230c1fd08c7cd5fd86ae;hb=850c5a3d5545eb6cf76e3c94d1e534c3b74a86bd;hp=b802cf098f0d57ca61d8f542a2ff5293d6a6d8cd;hpb=9f21b7f9adee7f803f04ea168b6d461f4baa37b2;p=lyx.git diff --git a/src/WordList.h b/src/WordList.h index b802cf098f..2afd6cb050 100644 --- a/src/WordList.h +++ b/src/WordList.h @@ -14,27 +14,30 @@ #include "support/docstring.h" +#include + namespace lyx { class WordList { public: /// WordList(); - /// - ~WordList(); - /// docstring const & word(size_t idx) const; /// size_t size() const; /// void insert(docstring const & w); + /// + void remove(docstring const & w); private: - class Impl; - Impl * d; + struct Impl; + std::unique_ptr d; }; +WordList & theWordList(std::string const & lang); + } // namespace lyx #endif // WORDLIST_H