#include "support/docstring.h"
+#include <memory>
+
namespace lyx {
class WordList {
public:
///
WordList();
- ///
- ~WordList();
-
///
docstring const & word(size_t idx) const;
///
void insert(docstring const & w);
///
void remove(docstring const & w);
-
+
private:
struct Impl;
- Impl * d;
+ std::unique_ptr<Impl> d;
};
-WordList & theWordList();
+WordList & theWordList(std::string const & lang);
} // namespace lyx