From d5dfa90eec9c108f86b9a0aa3f746a5b164c6649 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 20 Jul 2014 08:01:05 +0000 Subject: SpellChecker: -Updated Hunspell to 1.3.3 -Create services in Load() git-svn-id: http://svn.miranda-ng.org/main/trunk@9876 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SpellChecker/src/hunspell/hunspell.hxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'plugins/SpellChecker/src/hunspell/hunspell.hxx') diff --git a/plugins/SpellChecker/src/hunspell/hunspell.hxx b/plugins/SpellChecker/src/hunspell/hunspell.hxx index a25c637f0d..79f9566567 100644 --- a/plugins/SpellChecker/src/hunspell/hunspell.hxx +++ b/plugins/SpellChecker/src/hunspell/hunspell.hxx @@ -19,6 +19,10 @@ class LIBHUNSPELL_DLL_EXPORTED Hunspell { +private: + Hunspell(const Hunspell&); + Hunspell& operator = (const Hunspell&); +private: AffixMgr* pAMgr; HashMgr* pHMgr[MAXDIC]; int maxdic; @@ -35,6 +39,11 @@ public: /* Hunspell(aff, dic) - constructor of Hunspell class * input: path of affix file and dictionary file + * + * In WIN32 environment, use UTF-8 encoded paths started with the long path + * prefix \\\\?\\ to handle system-independent character encoding and very + * long path names (without the long path prefix Hunspell will use fopen() + * with system-dependent character encoding instead of _wfopen()). */ Hunspell(const char * affpath, const char * dpath, const char * key = NULL); @@ -133,6 +142,9 @@ public: const char * get_version(); int get_langnum() const; + + /* need for putdic */ + int input_conv(const char * word, char * dest); /* experimental and deprecated functions */ -- cgit v1.2.3