]> git.lyx.org Git - lyx.git/blobdiff - src/WordList.h
GuiBox.cpp: make a logic setting more clear
[lyx.git] / src / WordList.h
index 263c4d40da60b99e7cf9f2d0ed1b1b5778b06617..d21f9c8c7ed6924316482ef3dfdd14dbbe389e71 100644 (file)
@@ -17,6 +17,9 @@
 namespace lyx {
 
 class WordList {
+       // noncopyable because of pimpl
+       WordList(WordList const &);
+       WordList & operator=(WordList const &);
 public:
        ///
        WordList();
@@ -29,12 +32,18 @@ public:
        size_t size() const;
        ///
        void insert(docstring const & w);
+       ///
+       void remove(docstring const & w);
+       ///
+       static void cleanupWordLists();
 
 private:
        struct Impl;
        Impl * d;
 };
 
+WordList * theWordList(std::string const & lang);
+
 } // namespace lyx
 
 #endif // WORDLIST_H