Delete duplicate string
[TortoiseGit.git] / ext / hunspell / replist.hxx
blob9d24c46127f59086b1779e1a7f762a11fe71460e
1 /* string replacement list class */
2 #ifndef _REPLIST_HXX_
3 #define _REPLIST_HXX_
5 #include "hunvisapi.h"
7 #include "w_char.hxx"
8 #undef near // TortoiseSVN custom: this is needed to prevent errors
9 class LIBHUNSPELL_DLL_EXPORTED RepList
11 protected:
12 replentry ** dat;
13 int size;
14 int pos;
16 public:
17 RepList(int n);
18 ~RepList();
20 int get_pos();
21 int add(char * pat1, char * pat2);
22 replentry * item(int n);
23 int near(const char * word);
24 int match(const char * word, int n);
25 int conv(const char * word, char * dest);
27 #endif