X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FPersonalWordList.h;h=d37b7d3137bf2cc230be2df7680a6687bec06bbd;hb=c7d29be153debac82e3d2e8865fcc849f0a5f40d;hp=90777d80ac7204d19aa9f43ca41ffd0d836ba62c;hpb=a2287675d2362eea8ae6f853a1666db5f78a9d89;p=lyx.git diff --git a/src/PersonalWordList.h b/src/PersonalWordList.h index 90777d80ac..d37b7d3137 100644 --- a/src/PersonalWordList.h +++ b/src/PersonalWordList.h @@ -24,7 +24,7 @@ namespace lyx { class PersonalWordList { public: /// the word list has an associated language - PersonalWordList(std::string lang) { lang_ = lang; } + PersonalWordList(std::string lang) : lang_(lang), dirty_(false) {} /// the location of the file to hold to word list lyx::support::FileName dictfile() const; /// (re)load the word list from file @@ -44,11 +44,17 @@ public: /// end of word list docstring_list::const_iterator end() const; private: + /// docstring_list words_; + /// std::string lang_; + /// bool dirty_; + /// bool equalwords(docstring const & w1, docstring const & w2) const; + /// std::string header() const { return "# personal word list"; } + /// void dirty(bool flag) { dirty_ = flag; } };