]> git.lyx.org Git - lyx.git/blobdiff - src/WordList.h
speed up _a_lot_ switchEncoding() by avoiding an object copy
[lyx.git] / src / WordList.h
index b802cf098f0d57ca61d8f542a2ff5293d6a6d8cd..d02b0b7b880eeb3d78f49fa2c1d964a015615c8f 100644 (file)
@@ -29,12 +29,16 @@ public:
        size_t size() const;
        ///
        void insert(docstring const & w);
-
+       ///
+       void remove(docstring const & w);
+       
 private:
-       class Impl;
+       struct Impl;
        Impl * d;
 };
 
+WordList & theWordList();
+
 } // namespace lyx
 
 #endif // WORDLIST_H