X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FWordList.h;h=2afd6cb050c9bb9cc103230c1fd08c7cd5fd86ae;hb=e87ace901a4e52ab8cb7461d3c4910e04320d652;hp=263c4d40da60b99e7cf9f2d0ed1b1b5778b06617;hpb=f658224e5c3b5f9ecdadb4bfb00d91cef41822c8;p=lyx.git diff --git a/src/WordList.h b/src/WordList.h index 263c4d40da..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: struct Impl; - Impl * d; + std::unique_ptr d; }; +WordList & theWordList(std::string const & lang); + } // namespace lyx #endif // WORDLIST_H