| OLD | NEW |
| (Empty) |
| 1 /* string replacement list class */ | |
| 2 #ifndef _REPLIST_HXX_ | |
| 3 #define _REPLIST_HXX_ | |
| 4 | |
| 5 #ifdef HUNSPELL_CHROME_CLIENT | |
| 6 // Compilation issues in spellchecker.cc think near is a macro, therefore | |
| 7 // removing it here solves that problem. | |
| 8 #undef near | |
| 9 #endif | |
| 10 | |
| 11 #include "hunvisapi.h" | |
| 12 | |
| 13 #include "w_char.hxx" | |
| 14 | |
| 15 class LIBHUNSPELL_DLL_EXPORTED RepList | |
| 16 { | |
| 17 protected: | |
| 18 replentry ** dat; | |
| 19 int size; | |
| 20 int pos; | |
| 21 | |
| 22 public: | |
| 23 RepList(int n); | |
| 24 ~RepList(); | |
| 25 | |
| 26 int get_pos(); | |
| 27 int add(char * pat1, char * pat2); | |
| 28 replentry * item(int n); | |
| 29 int near(const char * word); | |
| 30 int match(const char * word, int n); | |
| 31 int conv(const char * word, char * dest); | |
| 32 }; | |
| 33 #endif | |
| OLD | NEW |