summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/hunspell/w_char.hxx
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-05-19 11:12:34 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-05-19 11:12:34 +0000
commit927add1b301c9f38808f3d35854d3ce896bff095 (patch)
tree244dfff95aee5393ec835e5804252ff8cf07866d /plugins/SpellChecker/hunspell/w_char.hxx
parente447995b61b645d48ebe837a0ee4fdb28373aa1c (diff)
adding SpellChecker plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@69 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker/hunspell/w_char.hxx')
-rw-r--r--plugins/SpellChecker/hunspell/w_char.hxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/SpellChecker/hunspell/w_char.hxx b/plugins/SpellChecker/hunspell/w_char.hxx
new file mode 100644
index 0000000000..3719dd3b77
--- /dev/null
+++ b/plugins/SpellChecker/hunspell/w_char.hxx
@@ -0,0 +1,21 @@
+#ifndef __WCHARHXX__
+#define __WCHARHXX__
+
+#ifndef GCC
+typedef struct {
+#else
+typedef struct __attribute__ ((packed)) {
+#endif
+ unsigned char l;
+ unsigned char h;
+} w_char;
+
+// two character arrays
+struct replentry {
+ char * pattern;
+ char * pattern2;
+ bool start;
+ bool end;
+};
+
+#endif