]> git.lyx.org Git - lyx.git/blobdiff - src/WordList.h
Update sk.po
[lyx.git] / src / WordList.h
index b802cf098f0d57ca61d8f542a2ff5293d6a6d8cd..2afd6cb050c9bb9cc103230c1fd08c7cd5fd86ae 100644 (file)
 
 #include "support/docstring.h"
 
+#include <memory>
+
 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<Impl> d;
 };
 
+WordList & theWordList(std::string const & lang);
+
 } // namespace lyx
 
 #endif // WORDLIST_H