summaryrefslogtreecommitdiff
path: root/Plugins/spellchecker/hunspell/replist.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/spellchecker/hunspell/replist.hxx')
-rw-r--r--Plugins/spellchecker/hunspell/replist.hxx27
1 files changed, 27 insertions, 0 deletions
diff --git a/Plugins/spellchecker/hunspell/replist.hxx b/Plugins/spellchecker/hunspell/replist.hxx
new file mode 100644
index 0000000..1cc039e
--- /dev/null
+++ b/Plugins/spellchecker/hunspell/replist.hxx
@@ -0,0 +1,27 @@
+/* string replacement list class */
+#ifndef _REPLIST_HXX_
+#define _REPLIST_HXX_
+
+#include "hunvisapi.h"
+
+#include "w_char.hxx"
+
+class LIBHUNSPELL_DLL_EXPORTED RepList
+{
+protected:
+ replentry ** dat;
+ int size;
+ int pos;
+
+public:
+ RepList(int n);
+ ~RepList();
+
+ int get_pos();
+ int add(char * pat1, char * pat2);
+ replentry * item(int n);
+ int findnear(const char * word);
+ int match(const char * word, int n);
+ int conv(const char * word, char * dest);
+};
+#endif