]> git.lyx.org Git - features.git/blob - src/3rdparty/hunspell/1.3.3/src/hunspell/replist.hxx
add stripped down hunspell 1.3.3
[features.git] / src / 3rdparty / hunspell / 1.3.3 / src / hunspell / replist.hxx
1 /* string replacement list class */
2 #ifndef _REPLIST_HXX_
3 #define _REPLIST_HXX_
4
5 #include "hunvisapi.h"
6
7 #include "w_char.hxx"
8
9 class LIBHUNSPELL_DLL_EXPORTED RepList
10 {
11 private:
12     RepList(const RepList&);
13     RepList& operator = (const RepList&);
14 protected:
15     replentry ** dat;
16     int size;
17     int pos;
18
19 public:
20     RepList(int n);
21     ~RepList();
22
23     int get_pos();
24     int add(char * pat1, char * pat2);
25     replentry * item(int n);
26     int near(const char * word);
27     int match(const char * word, int n);
28     int conv(const char * word, char * dest);
29 };
30 #endif