summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/hunspell/hunspell.hxx
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-07-20 08:01:05 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-07-20 08:01:05 +0000
commitd5dfa90eec9c108f86b9a0aa3f746a5b164c6649 (patch)
treee6eb1ae6ca89db58494b28d6c5124ea94c517c37 /plugins/SpellChecker/src/hunspell/hunspell.hxx
parent42c1d344fd105bcc25ae35e5a82d16a978b302c4 (diff)
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
Diffstat (limited to 'plugins/SpellChecker/src/hunspell/hunspell.hxx')
-rw-r--r--plugins/SpellChecker/src/hunspell/hunspell.hxx12
1 files changed, 12 insertions, 0 deletions
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 */